Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/spring/12.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Java org.hibernate.engine.internal.EntityEntryContext$ManagedEntityImpl内存泄漏_Java_Spring_Hibernate_Memory Leaks - Fatal编程技术网

Java org.hibernate.engine.internal.EntityEntryContext$ManagedEntityImpl内存泄漏

Java org.hibernate.engine.internal.EntityEntryContext$ManagedEntityImpl内存泄漏,java,spring,hibernate,memory-leaks,Java,Spring,Hibernate,Memory Leaks,获取org.hibernate.engine.internal.EntityEntryContext$ManagedEntityImpl中的内存泄漏 At the time the leak was detected, 19323 objects existed of class org.hibernate.engine.internal.EntityEntryContext$ManagedEntityImpl At the time the leak was detected, 19323

获取org.hibernate.engine.internal.EntityEntryContext$ManagedEntityImpl中的内存泄漏

At the time the leak was detected, 19323 objects existed of class
org.hibernate.engine.internal.EntityEntryContext$ManagedEntityImpl

At the time the leak was detected, 19323 objects existed of class
这些对象是在

org.hibernate.engine.internal.EntityEntryContext.addEntityEntry(java.lang.Object,org.hibernate.engine.spi.EntityEntry):96

他们被拘留了 在java.util.IdentityHashMap的表中

in nonEnhancedEntityXref of org.hibernate.engine.internal.EntityEntryContext
    in entityEntryContext of org.hibernate.engine.internal.StatefulPersistenceContext
      in persistenceContext of org.hibernate.internal.SessionImpl
        in session of org.springframework.orm.hibernate4.SessionHolder
          in value of java.util.HashMap$Entry
            in table of java.util.HashMap
              in value of java.lang.ThreadLocal$ThreadLocalMap$Entry
                in table of java.lang.ThreadLocal$ThreadLocalMap
                  in threadLocals of org.apache.tomcat.util.threads.TaskThread
如果我们迁移到hibernate-core-4.3.7.Final.jar,请建议是否可以解决这个问题。 目前我们正在使用hibernate-core-4.2.0.Final.jar。?
基于

如果你可以,请考虑直接在你的问题中发布代码的关键部分,而不是作为外部链接。你能发现问题吗?我在生产中与HiBiNATE4.4.11版本有相同的错误,如果你可以,请考虑直接在你的问题中发布代码的关键部分而不是外部链接。你能发现这个问题吗?我在生产中遇到与Hibernate版本4.2.11相同的错误