Hi,
Could you try 2.0 - snapshot, we tried to remove all thread local memory
leaks there.

But to be successful you need to directly call Orient.instance().shutdown()
on ServletConstextListener#contextDestroyed() method.

On Mon, Dec 15, 2014 at 3:58 PM, Dave ALI <[email protected]> wrote:
>
> OrientDb v2.0-M3. Log output from Tomcat 7 app indicates that the pools
> and various other threads are not released upon calling OrientGraphFactory
> close().   Does anyone know what is wrong or is this a bug?
>
> The app's code is ...
>
> //setting up graph factory
>
> orientGraphFactory = new OrientGraphFactory(defs.ORIENT_DB_URI + 
> defs.ORIENT_DB_NAME, defs.ORIENT_DB__ADMIN_USER, 
> defs.ORIENT_DB_ADMIN_PASS).setupPool(1, 10);
>
>
> //doing multiple transaction like block below
>
> OrientGraph graph = orientGraphFactory.getTx();
>
> try {
>     //Do stuff with graph
>     graph.commit();
> } catch (ConcordDaoException ex) {
>     graph.rollback();
>     throw new WebApplicationException(buildErrorResponse(ex));
> } finally {
>     graph.shutdown();
> }
>
>
> //in Tomcat's ContextDestroyed callback
>
> orientGraphFactory.close();
>
>
> Tomcat output of the various leaking threads left running at at shutdown ...
>
>
> Dec 14, 2014 10:07:58 PM org.apache.catalina.loader.WebappClassLoader 
> clearReferencesThreads
> SEVERE: The web application [] appears to have started a thread named 
> [Timer-0] but has failed to stop it. This is very likely to create a memory 
> leak.
> Dec 14, 2014 10:07:58 PM org.apache.catalina.loader.WebappClassLoader 
> checkThreadLocalMapForLeaks
> SEVERE: The web application [] created a ThreadLocal with key of type 
> [com.orientechnologies.orient.client.remote.OStorageRemoteThreadLocal] (value 
> [com.orientechnologies.orient.client.remote.OStorageRemoteThreadLocal@4bc808fa])
>  and a value of type 
> [com.orientechnologies.orient.client.remote.OStorageRemoteThreadLocal.OStorageRemoteSession]
>  (value 
> [com.orientechnologies.orient.client.remote.OStorageRemoteThreadLocal$OStorageRemoteSession@39c57bf4])
>  but failed to remove it when the web application was stopped. Threads are 
> going to be renewed over time to try and avoid a probable memory leak.
> Dec 14, 2014 10:07:58 PM org.apache.catalina.loader.WebappClassLoader 
> checkThreadLocalMapForLeaks
> SEVERE: The web application [] created a ThreadLocal with key of type 
> [com.orientechnologies.orient.core.db.OPartitionedDatabasePool$1] (value 
> [com.orientechnologies.orient.core.db.OPartitionedDatabasePool$1@4238f8f1]) 
> and a value of type 
> [com.orientechnologies.orient.core.db.OPartitionedDatabasePool.PoolData] 
> (value 
> [com.orientechnologies.orient.core.db.OPartitionedDatabasePool$PoolData@2a5fb82e])
>  but failed to remove it when the web application was stopped. Threads are 
> going to be renewed over time to try and avoid a probable memory leak.
> Dec 14, 2014 10:07:58 PM org.apache.catalina.loader.WebappClassLoader 
> checkThreadLocalMapForLeaks
> SEVERE: The web application [] created a ThreadLocal with key of type 
> [com.orientechnologies.orient.core.serialization.serializer.record.OSerializationSetThreadLocal]
>  (value 
> [com.orientechnologies.orient.core.serialization.serializer.record.OSerializationSetThreadLocal@7234e9bd])
>  and a value of type [java.util.Collections.SetFromMap] (value [[]]) but 
> failed to remove it when the web application was stopped. Threads are going 
> to be renewed over time to try and avoid a probable memory leak.
> Dec 14, 2014 10:07:58 PM org.apache.catalina.loader.WebappClassLoader 
> checkThreadLocalMapForLeaks
> SEVERE: The web application [] created a ThreadLocal with key of type 
> [com.orientechnologies.orient.core.storage.impl.local.paginated.ORecordSerializationContext$1]
>  (value 
> [com.orientechnologies.orient.core.storage.impl.local.paginated.ORecordSerializationContext$1@284bae62])
>  and a value of type [java.util.ArrayDeque] (value [[]]) but failed to remove 
> it when the web application was stopped. Threads are going to be renewed over 
> time to try and avoid a probable memory leak.
> Dec 14, 2014 10:07:58 PM org.apache.catalina.loader.WebappClassLoader 
> checkThreadLocalMapForLeaks
> SEVERE: The web application [] created a ThreadLocal with key of type 
> [com.orientechnologies.orient.core.hook.OHookThreadLocal] (value 
> [com.orientechnologies.orient.core.hook.OHookThreadLocal@a5b899]) and a value 
> of type [java.util.HashSet] (value [[]]) but failed to remove it when the web 
> application was stopped. Threads are going to be renewed over time to try and 
> avoid a probable memory leak.
> Dec 14, 2014 10:07:58 PM org.apache.catalina.loader.WebappClassLoader 
> checkThreadLocalMapForLeaks
> SEVERE: The web application [] created a ThreadLocal with key of type 
> [com.orientechnologies.orient.client.remote.OSBTreeCollectionManagerRemote$1] 
> (value 
> [com.orientechnologies.orient.client.remote.OSBTreeCollectionManagerRemote$1@7ffa4523])
>  and a value of type [java.util.HashMap] (value [{}]) but failed to remove it 
> when the web application was stopped. Threads are going to be renewed over 
> time to try and avoid a probable memory leak.
> Dec 14, 2014 10:07:58 PM org.apache.catalina.loader.WebappClassLoader 
> checkThreadLocalMapForLeaks
> SEVERE: The web application [] created a ThreadLocal with key of type 
> [com.orientechnologies.orient.core.db.OScenarioThreadLocal] (value 
> [com.orientechnologies.orient.core.db.OScenarioThreadLocal@7d13e79]) and a 
> value of type 
> [com.orientechnologies.orient.core.db.OScenarioThreadLocal.RUN_MODE] (value 
> [DEFAULT]) but failed to remove it when the web application was stopped. 
> Threads are going to be renewed over time to try and avoid a probable memory 
> leak.
> Dec 14, 2014 10:07:58 PM org.apache.catalina.loader.WebappClassLoader 
> checkThreadLocalMapForLeaks
> SEVERE: The web application [] created a ThreadLocal with key of type 
> [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@3a5c7df1]) and a value 
> of type 
> [com.orientechnologies.common.concur.lock.OThreadCountersHashTable.HashEntry] 
> (value [HashEntry{thread=Thread[http-bio-8080-exec-7,5,main], 
> hashCodes=[-1499892825, 1400338386], p0=4854456007513024121, 
> p1=-2744313630147326590, p2=-4083254582632291625, p3=-9019699490139564853, 
> p4=8053089217671348689, p5=-8333566720562474496, p6=-8615540963727171085, 
> p7=-4427011023889736837, threadCounter=0, p8=-403209124420583428, 
> p9=6508538306324414840, p10=-4452149487965511028, p11=-8367690425304120598, 
> p12=3445543050943843611, p13=-1348451420222473332, p14=7703986189570567725}]) 
> but failed to remove it when the web application was stopped. Threads are 
> going to be renewed over time to try and avoid a probable memory leak.
> Dec 14, 2014 10:07:58 PM org.apache.catalina.loader.WebappClassLoader 
> checkThreadLocalMapForLeaks
> SEVERE: The web application [] created a ThreadLocal with key of type 
> [com.orientechnologies.common.concur.lock.OReadersWriterSpinLock$1] (value 
> [com.orientechnologies.common.concur.lock.OReadersWriterSpinLock$1@e507726]) 
> and a value of type [com.orientechnologies.common.types.OModifiableInteger] 
> (value [0]) but failed to remove it when the web application was stopped. 
> Threads are going to be renewed over time to try and avoid a probable memory 
> leak.
> Dec 14, 2014 10:07:58 PM org.apache.catalina.loader.WebappClassLoader 
> checkThreadLocalMapForLeaks
> SEVERE: The web application [] created a ThreadLocal with key of type 
> [com.orientechnologies.common.concur.lock.OReadersWriterSpinLock$2] (value 
> [com.orientechnologies.common.concur.lock.OReadersWriterSpinLock$2@44be6721]) 
> and a value of type 
> [com.orientechnologies.common.concur.lock.OReadersWriterSpinLock.WNode] 
> (value 
> [com.orientechnologies.common.concur.lock.OReadersWriterSpinLock$WNode@3064cac9])
>  but failed to remove it when the web application was stopped. Threads are 
> going to be renewed over time to try and avoid a probable memory leak.
> Dec 14, 2014 10:07:58 PM org.apache.catalina.loader.WebappClassLoader 
> checkThreadLocalMapForLeaks
> SEVERE: The web application [] created a ThreadLocal with key of type 
> [com.tinkerpop.blueprints.impls.orient.OrientBaseGraph$1] (value 
> [com.tinkerpop.blueprints.impls.orient.OrientBaseGraph$1@293d6af1]) and a 
> value of type [java.util.ArrayDeque] (value [[]]) but failed to remove it 
> when the web application was stopped. Threads are going to be renewed over 
> time to try and avoid a probable memory leak.
> Dec 14, 2014 10:07:58 PM org.apache.catalina.loader.WebappClassLoader 
> checkThreadLocalMapForLeaks
> SEVERE: The web application [] created a ThreadLocal with key of type 
> [com.orientechnologies.orient.core.metadata.schema.OSchemaShared$1] (value 
> [com.orientechnologies.orient.core.metadata.schema.OSchemaShared$1@7f38095d]) 
> and a value of type [com.orientechnologies.common.types.OModifiableInteger] 
> (value [0]) but failed to remove it when the web application was stopped. 
> Threads are going to be renewed over time to try and avoid a probable memory 
> leak.
> Dec 14, 2014 10:07:58 PM org.apache.catalina.loader.WebappClassLoader 
> checkThreadLocalMapForLeaks
> SEVERE: The web application [] created a ThreadLocal with key of type 
> [com.orientechnologies.orient.client.remote.OStorageRemoteThreadLocal] (value 
> [com.orientechnologies.orient.client.remote.OStorageRemoteThreadLocal@4bc808fa])
>  and a value of type 
> [com.orientechnologies.orient.client.remote.OStorageRemoteThreadLocal.OStorageRemoteSession]
>  (value 
> [com.orientechnologies.orient.client.remote.OStorageRemoteThreadLocal$OStorageRemoteSession@37eef9eb])
>  but failed to remove it when the web application was stopped. Threads are 
> going to be renewed over time to try and avoid a probable memory leak.
> Dec 14, 2014 10:07:58 PM org.apache.catalina.loader.WebappClassLoader 
> checkThreadLocalMapForLeaks
> SEVERE: The web application [] created a ThreadLocal with key of type 
> [com.orientechnologies.orient.core.db.OPartitionedDatabasePool$1] (value 
> [com.orientechnologies.orient.core.db.OPartitionedDatabasePool$1@4238f8f1]) 
> and a value of type 
> [com.orientechnologies.orient.core.db.OPartitionedDatabasePool.PoolData] 
> (value 
> [com.orientechnologies.orient.core.db.OPartitionedDatabasePool$PoolData@2a59cffd])
>  but failed to remove it when the web application was stopped. Threads are 
> going to be renewed over time to try and avoid a probable memory leak.
> Dec 14, 2014 10:07:58 PM org.apache.catalina.loader.WebappClassLoader 
> checkThreadLocalMapForLeaks
> SEVERE: The web application [] created a ThreadLocal with key of type 
> [com.orientechnologies.orient.core.serialization.serializer.record.OSerializationSetThreadLocal]
>  (value 
> [com.orientechnologies.orient.core.serialization.serializer.record.OSerializationSetThreadLocal@7234e9bd])
>  and a value of type [java.util.Collections.SetFromMap] (value [[]]) but 
> failed to remove it when the web application was stopped. Threads are going 
> to be renewed over time to try and avoid a probable memory leak.
> Dec 14, 2014 10:07:58 PM org.apache.catalina.loader.WebappClassLoader 
> checkThreadLocalMapForLeaks
> SEVERE: The web application [] created a ThreadLocal with key of type 
> [com.orientechnologies.orient.core.storage.impl.local.paginated.ORecordSerializationContext$1]
>  (value 
> [com.orientechnologies.orient.core.storage.impl.local.paginated.ORecordSerializationContext$1@284bae62])
>  and a value of type [java.util.ArrayDeque] (value [[]]) but failed to remove 
> it when the web application was stopped. Threads are going to be renewed over 
> time to try and avoid a probable memory leak.
> Dec 14, 2014 10:07:58 PM org.apache.catalina.loader.WebappClassLoader 
> checkThreadLocalMapForLeaks
> SEVERE: The web application [] created a ThreadLocal with key of type 
> [com.orientechnologies.orient.core.hook.OHookThreadLocal] (value 
> [com.orientechnologies.orient.core.hook.OHookThreadLocal@a5b899]) and a value 
> of type [java.util.HashSet] (value [[]]) but failed to remove it when the web 
> application was stopped. Threads are going to be renewed over time to try and 
> avoid a probable memory leak.
> Dec 14, 2014 10:07:58 PM org.apache.catalina.loader.WebappClassLoader 
> checkThreadLocalMapForLeaks
> SEVERE: The web application [] created a ThreadLocal with key of type 
> [com.orientechnologies.orient.client.remote.OSBTreeCollectionManagerRemote$1] 
> (value 
> [com.orientechnologies.orient.client.remote.OSBTreeCollectionManagerRemote$1@7ffa4523])
>  and a value of type [java.util.HashMap] (value [{}]) but failed to remove it 
> when the web application was stopped. Threads are going to be renewed over 
> time to try and avoid a probable memory leak.
> Dec 14, 2014 10:07:58 PM org.apache.catalina.loader.WebappClassLoader 
> checkThreadLocalMapForLeaks
> SEVERE: The web application [] created a ThreadLocal with key of type 
> [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@3a5c7df1]) and a value 
> of type 
> [com.orientechnologies.common.concur.lock.OThreadCountersHashTable.HashEntry] 
> (value [HashEntry{thread=Thread[http-bio-8080-exec-8,5,main], 
> hashCodes=[-1308284162, -1241983343], p0=2131126043126240765, 
> p1=-8155487663122523035, p2=7825574766849984915, p3=-2546741425787222723, 
> p4=5003030133965393146, p5=-7547583649747892167, p6=-8433315050980777629, 
> p7=-7963755536335547454, threadCounter=0, p8=3907222846609833191, 
> p9=-6710946585973304930, p10=-3910416017258190405, p11=-1752422623170069699, 
> p12=-2248052684786785119, p13=2482782792047943507, 
> p14=-5824678902009794911}]) but failed to remove it when the web application 
> was stopped. Threads are going to be renewed over time to try and avoid a 
> probable memory leak.
> Dec 14, 2014 10:07:58 PM org.apache.catalina.loader.WebappClassLoader 
> checkThreadLocalMapForLeaks
> SEVERE: The web application [] created a ThreadLocal with key of type 
> [com.orientechnologies.common.concur.lock.OReadersWriterSpinLock$1] (value 
> [com.orientechnologies.common.concur.lock.OReadersWriterSpinLock$1@e507726]) 
> and a value of type [com.orientechnologies.common.types.OModifiableInteger] 
> (value [0]) but failed to remove it when the web application was stopped. 
> Threads are going to be renewed over time to try and avoid a probable memory 
> leak.
> Dec 14, 2014 10:07:58 PM org.apache.catalina.loader.WebappClassLoader 
> checkThreadLocalMapForLeaks
> SEVERE: The web application [] created a ThreadLocal with key of type 
> [com.tinkerpop.blueprints.impls.orient.OrientBaseGraph$1] (value 
> [com.tinkerpop.blueprints.impls.orient.OrientBaseGraph$1@293d6af1]) and a 
> value of type [java.util.ArrayDeque] (value [[]]) but failed to remove it 
> when the web application was stopped. Threads are going to be renewed over 
> time to try and avoid a probable memory leak.
> Dec 14, 2014 10:07:58 PM org.apache.catalina.loader.WebappClassLoader 
> checkThreadLocalMapForLeaks
> SEVERE: The web application [] created a ThreadLocal with key of type 
> [com.orientechnologies.orient.client.remote.OStorageRemoteThreadLocal] (value 
> [com.orientechnologies.orient.client.remote.OStorageRemoteThreadLocal@4bc808fa])
>  and a value of type 
> [com.orientechnologies.orient.client.remote.OStorageRemoteThreadLocal.OStorageRemoteSession]
>  (value 
> [com.orientechnologies.orient.client.remote.OStorageRemoteThreadLocal$OStorageRemoteSession@6e6600c3])
>  but failed to remove it when the web application was stopped. Threads are 
> going to be renewed over time to try and avoid a probable memory leak.
> Dec 14, 2014 10:07:58 PM org.apache.catalina.loader.WebappClassLoader 
> checkThreadLocalMapForLeaks
> SEVERE: The web application [] created a ThreadLocal with key of type 
> [com.orientechnologies.orient.core.db.OPartitionedDatabasePool$1] (value 
> [com.orientechnologies.orient.core.db.OPartitionedDatabasePool$1@4238f8f1]) 
> and a value of type 
> [com.orientechnologies.orient.core.db.OPartitionedDatabasePool.PoolData] 
> (value 
> [com.orientechnologies.orient.core.db.OPartitionedDatabasePool$PoolData@6abc3ad4])
>  but failed to remove it when the web application was stopped. Threads are 
> going to be renewed over time to try and avoid a probable memory leak.
> Dec 14, 2014 10:07:58 PM org.apache.catalina.loader.WebappClassLoader 
> checkThreadLocalMapForLeaks
> SEVERE: The web application [] created a ThreadLocal with key of type 
> [com.orientechnologies.orient.core.serialization.serializer.record.OSerializationSetThreadLocal]
>  (value 
> [com.orientechnologies.orient.core.serialization.serializer.record.OSerializationSetThreadLocal@7234e9bd])
>  and a value of type [java.util.Collections.SetFromMap] (value [[]]) but 
> failed to remove it when the web application was stopped. Threads are going 
> to be renewed over time to try and avoid a probable memory leak.
> Dec 14, 2014 10:07:58 PM org.apache.catalina.loader.WebappClassLoader 
> checkThreadLocalMapForLeaks
> SEVERE: The web application [] created a ThreadLocal with key of type 
> [com.orientechnologies.orient.core.storage.impl.local.paginated.ORecordSerializationContext$1]
>  (value 
> [com.orientechnologies.orient.core.storage.impl.local.paginated.ORecordSerializationContext$1@284bae62])
>  and a value of type [java.util.ArrayDeque] (value [[]]) but failed to remove 
> it when the web application was stopped. Threads are going to be renewed over 
> time to try and avoid a probable memory leak.
> Dec 14, 2014 10:07:58 PM org.apache.catalina.loader.WebappClassLoader 
> checkThreadLocalMapForLeaks
> SEVERE: The web application [] created a ThreadLocal with key of type 
> [com.orientechnologies.orient.core.hook.OHookThreadLocal] (value 
> [com.orientechnologies.orient.core.hook.OHookThreadLocal@a5b899]) and a value 
> of type [java.util.HashSet] (value [[]]) but failed to remove it when the web 
> application was stopped. Threads are going to be renewed over time to try and 
> avoid a probable memory leak.
> Dec 14, 2014 10:07:58 PM org.apache.catalina.loader.WebappClassLoader 
> checkThreadLocalMapForLeaks
> SEVERE: The web application [] created a ThreadLocal with key of type 
> [com.orientechnologies.orient.client.remote.OSBTreeCollectionManagerRemote$1] 
> (value 
> [com.orientechnologies.orient.client.remote.OSBTreeCollectionManagerRemote$1@7ffa4523])
>  and a value of type [java.util.HashMap] (value [{}]) but failed to remove it 
> when the web application was stopped. Threads are going to be renewed over 
> time to try and avoid a probable memory leak.
> Dec 14, 2014 10:07:58 PM org.apache.catalina.loader.WebappClassLoader 
> checkThreadLocalMapForLeaks
> SEVERE: The web application [] created a ThreadLocal with key of type 
> [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@3a5c7df1]) and a value 
> of type 
> [com.orientechnologies.common.concur.lock.OThreadCountersHashTable.HashEntry] 
> (value [HashEntry{thread=Thread[http-bio-8080-exec-9,5,main], 
> hashCodes=[2008361401, 1283941657], p0=3692431977107923285, 
> p1=1540739518417595352, p2=-1414830068309664613, p3=6479961845704531578, 
> p4=-3996536996361500042, p5=-6073692935836412508, p6=4559044930075743319, 
> p7=7316216370177573376, threadCounter=0, p8=-6408903672712094569, 
> p9=7618323414179279762, p10=-7404853430053216853, p11=-4580362130926899700, 
> p12=8651579926844033174, p13=4024253356609416799, p14=8988498231550989982}]) 
> but failed to remove it when the web application was stopped. Threads are 
> going to be renewed over time to try and avoid a probable memory leak.
> Dec 14, 2014 10:07:58 PM org.apache.catalina.loader.WebappClassLoader 
> checkThreadLocalMapForLeaks
> SEVERE: The web application [] created a ThreadLocal with key of type 
> [com.orientechnologies.common.concur.lock.OReadersWriterSpinLock$1] (value 
> [com.orientechnologies.common.concur.lock.OReadersWriterSpinLock$1@e507726]) 
> and a value of type [com.orientechnologies.common.types.OModifiableInteger] 
> (value [0]) but failed to remove it when the web application was stopped. 
> Threads are going to be renewed over time to try and avoid a probable memory 
> leak.
> Dec 14, 2014 10:07:58 PM org.apache.catalina.loader.WebappClassLoader 
> checkThreadLocalMapForLeaks
> SEVERE: The web application [] created a ThreadLocal with key of type 
> [com.tinkerpop.blueprints.impls.orient.OrientBaseGraph$1] (value 
> [com.tinkerpop.blueprints.impls.orient.OrientBaseGraph$1@293d6af1]) and a 
> value of type [java.util.ArrayDeque] (value [[]]) but failed to remove it 
> when the web application was stopped. Threads are going to be renewed over 
> time to try and avoid a probable memory leak.
> Dec 14, 2014 10:07:58 PM org.apache.catalina.loader.WebappClassLoader 
> checkThreadLocalMapForLeaks
> SEVERE: The web application [] created a ThreadLocal with key of type 
> [com.orientechnologies.orient.client.remote.OStorageRemoteThreadLocal] (value 
> [com.orientechnologies.orient.client.remote.OStorageRemoteThreadLocal@4bc808fa])
>  and a value of type 
> [com.orientechnologies.orient.client.remote.OStorageRemoteThreadLocal.OStorageRemoteSession]
>  (value 
> [com.orientechnologies.orient.client.remote.OStorageRemoteThreadLocal$OStorageRemoteSession@6bba6b0a])
>  but failed to remove it when the web application was stopped. Threads are 
> going to be renewed over time to try and avoid a probable memory leak.
> Dec 14, 2014 10:07:58 PM org.apache.catalina.loader.WebappClassLoader 
> checkThreadLocalMapForLeaks
> SEVERE: The web application [] created a ThreadLocal with key of type 
> [com.orientechnologies.orient.core.db.OPartitionedDatabasePool$1] (value 
> [com.orientechnologies.orient.core.db.OPartitionedDatabasePool$1@4238f8f1]) 
> and a value of type 
> [com.orientechnologies.orient.core.db.OPartitionedDatabasePool.PoolData] 
> (value 
> [com.orientechnologies.orient.core.db.OPartitionedDatabasePool$PoolData@1bc994c7])
>  but failed to remove it when the web application was stopped. Threads are 
> going to be renewed over time to try and avoid a probable memory leak.
> Dec 14, 2014 10:07:58 PM org.apache.catalina.loader.WebappClassLoader 
> checkThreadLocalMapForLeaks
> SEVERE: The web application [] created a ThreadLocal with key of type 
> [com.orientechnologies.orient.core.serialization.serializer.record.OSerializationSetThreadLocal]
>  (value 
> [com.orientechnologies.orient.core.serialization.serializer.record.OSerializationSetThreadLocal@7234e9bd])
>  and a value of type [java.util.Collections.SetFromMap] (value [[]]) but 
> failed to remove it when the web application was stopped. Threads are going 
> to be renewed over time to try and avoid a probable memory leak.
> Dec 14, 2014 10:07:58 PM org.apache.catalina.loader.WebappClassLoader 
> checkThreadLocalMapForLeaks
> SEVERE: The web application [] created a ThreadLocal with key of type 
> [com.orientechnologies.orient.core.storage.impl.local.paginated.ORecordSerializationContext$1]
>  (value 
> [com.orientechnologies.orient.core.storage.impl.local.paginated.ORecordSerializationContext$1@284bae62])
>  and a value of type [java.util.ArrayDeque] (value [[]]) but failed to remove 
> it when the web application was stopped. Threads are going to be renewed over 
> time to try and avoid a probable memory leak.
> Dec 14, 2014 10:07:58 PM org.apache.catalina.loader.WebappClassLoader 
> checkThreadLocalMapForLeaks
> SEVERE: The web application [] created a ThreadLocal with key of type 
> [com.orientechnologies.orient.core.hook.OHookThreadLocal] (value 
> [com.orientechnologies.orient.core.hook.OHookThreadLocal@a5b899]) and a value 
> of type [java.util.HashSet] (value [[]]) but failed to remove it when the web 
> application was stopped. Threads are going to be renewed over time to try and 
> avoid a probable memory leak.
> Dec 14, 2014 10:07:58 PM org.apache.catalina.loader.WebappClassLoader 
> checkThreadLocalMapForLeaks
> SEVERE: The web application [] created a ThreadLocal with key of type 
> [com.orientechnologies.orient.client.remote.OSBTreeCollectionManagerRemote$1] 
> (value 
> [com.orientechnologies.orient.client.remote.OSBTreeCollectionManagerRemote$1@7ffa4523])
>  and a value of type [java.util.HashMap] (value [{}]) but failed to remove it 
> when the web application was stopped. Threads are going to be renewed over 
> time to try and avoid a probable memory leak.
> Dec 14, 2014 10:07:58 PM org.apache.catalina.loader.WebappClassLoader 
> checkThreadLocalMapForLeaks
> SEVERE: The web application [] created a ThreadLocal with key of type 
> [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@3a5c7df1]) and a value 
> of type 
> [com.orientechnologies.common.concur.lock.OThreadCountersHashTable.HashEntry] 
> (value [HashEntry{thread=Thread[http-bio-8080-exec-10,5,main], 
> hashCodes=[-40699166, -286612454], p0=-5014478905142098927, 
> p1=6089977991647183617, p2=-8061051047766494818, p3=8244922265594774890, 
> p4=-3838768748210043813, p5=4654469418483654362, p6=-1188502064117739739, 
> p7=-1667527555296724354, threadCounter=0, p8=5807266616591726603, 
> p9=8959514321781308001, p10=-2891922142512450562, p11=4216985888101203014, 
> p12=-8423515356818404924, p13=3556136645703735223, p14=1414051390856581170}]) 
> but failed to remove it when the web application was stopped. Threads are 
> going to be renewed over time to try and avoid a probable memory leak.
> Dec 14, 2014 10:07:58 PM org.apache.catalina.loader.WebappClassLoader 
> checkThreadLocalMapForLeaks
> SEVERE: The web application [] created a ThreadLocal with key of type 
> [com.orientechnologies.common.concur.lock.OReadersWriterSpinLock$1] (value 
> [com.orientechnologies.common.concur.lock.OReadersWriterSpinLock$1@e507726]) 
> and a value of type [com.orientechnologies.common.types.OModifiableInteger] 
> (value [0]) but failed to remove it when the web application was stopped. 
> Threads are going to be renewed over time to try and avoid a probable memory 
> leak.
> Dec 14, 2014 10:07:58 PM org.apache.catalina.loader.WebappClassLoader 
> checkThreadLocalMapForLeaks
> SEVERE: The web application [] created a ThreadLocal with key of type 
> [com.tinkerpop.blueprints.impls.orient.OrientBaseGraph$1] (value 
> [com.tinkerpop.blueprints.impls.orient.OrientBaseGraph$1@293d6af1]) and a 
> value of type [java.util.ArrayDeque] (value [[]]) but failed to remove it 
> when the web application was stopped. Threads are going to be renewed over 
> time to try and avoid a probable memory leak.
> Dec 14, 2014 10:07:58 PM org.apache.catalina.loader.WebappClassLoader 
> checkThreadLocalMapForLeaks
> SEVERE: The web application [] created a ThreadLocal with key of type 
> [com.orientechnologies.orient.client.remote.OStorageRemoteThreadLocal] (value 
> [com.orientechnologies.orient.client.remote.OStorageRemoteThreadLocal@4bc808fa])
>  and a value of type 
> [com.orientechnologies.orient.client.remote.OStorageRemoteThreadLocal.OStorageRemoteSession]
>  (value 
> [com.orientechnologies.orient.client.remote.OStorageRemoteThreadLocal$OStorageRemoteSession@4f46a311])
>  but failed to remove it when the web application was stopped. Threads are 
> going to be renewed over time to try and avoid a probable memory leak.
> Dec 14, 2014 10:07:58 PM org.apache.catalina.loader.WebappClassLoader 
> checkThreadLocalMapForLeaks
> SEVERE: The web application [] created a ThreadLocal with key of type 
> [com.orientechnologies.common.concur.lock.OReadersWriterSpinLock$2] (value 
> [com.orientechnologies.common.concur.lock.OReadersWriterSpinLock$2@44be6721]) 
> and a value of type 
> [com.orientechnologies.common.concur.lock.OReadersWriterSpinLock.WNode] 
> (value 
> [com.orientechnologies.common.concur.lock.OReadersWriterSpinLock$WNode@267bd9c0])
>  but failed to remove it when the web application was stopped. Threads are 
> going to be renewed over time to try and avoid a probable memory leak.
> Dec 14, 2014 10:07:58 PM org.apache.catalina.loader.WebappClassLoader 
> checkThreadLocalMapForLeaks
> SEVERE: The web application [] created a ThreadLocal with key of type 
> [com.orientechnologies.common.concur.lock.OReadersWriterSpinLock$1] (value 
> [com.orientechnologies.common.concur.lock.OReadersWriterSpinLock$1@e507726]) 
> and a value of type [com.orientechnologies.common.types.OModifiableInteger] 
> (value [0]) but failed to remove it when the web application was stopped. 
> Threads are going to be renewed over time to try and avoid a probable memory 
> leak.
> Dec 14, 2014 10:07:58 PM org.apache.coyote.AbstractProtocol stop
> INFO: Stopping ProtocolHandler ["http-bio-8080"]
> Dec 14, 2014 10:07:58 PM org.apache.coyote.AbstractProtocol stop
> INFO: Stopping ProtocolHandler ["ajp-bio-8009"]
> Dec 14, 2014 10:07:58 PM org.apache.coyote.AbstractProtocol destroy
> INFO: Destroying ProtocolHandler ["http-bio-8080"]
> Dec 14, 2014 10:07:58 PM org.apache.coyote.AbstractProtocol destroy
> INFO: Destroying ProtocolHandler ["ajp-bio-8009"]
> Disconnected from server
>
>
>
>  --
>
> ---
> You received this message because you are subscribed to the Google Groups
> "OrientDB" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>


-- 
Best regards,
Andrey Lomakin.

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to