-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Out of heap space on reads
PostPosted: Tue Apr 28, 2015 10:12 pm 
Newbie

Joined: Fri Dec 08, 2006 5:44 pm
Posts: 13
Greetings,

I have a large app using Hibernate 3.6.0. My client needed a number of CSV exports run together (in series). When I run the exports I get: java.lang.OutOfMemoryError: Java heap space

Here are the facts:

1. I am giving the app 3GB of RAM (yes, 3GB)

2. I use scrolls rather than lists when the number of records is greater than about 20.

3. Every 20 or 30 top-level iterations I do a flush and clear. I even tried doing a commit and new transaction every 20 or 30 iterations.

4. The system goes through thousands of top-level iterations before it fails.

5. There are no record changes occurring that I am aware of - just reads. Although, it is a lot of code written by several people so I can't guarantee it.

6. Although I have blobs, I should not be touching any of those records during these exports, and the biggest blob would only be a few megs anyway.

7. I am using PostgreSQL on a 64 bit Linux box with 8GB of memory.

The backtrace looks like this:

Code:
Exception in thread "com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#1" Exception in thread "Timer-9" Exception in thread "com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2" java.lang.OutOfMemoryError: Java heap space
   at java.util.Arrays.copyOfRange(Arrays.java:2694)
   at java.lang.String.<init>(String.java:203)
   at java.lang.String.substring(String.java:1913)
   at java.lang.String.trim(String.java:2725)
   at org.postgresql.core.v3.QueryExecutorImpl.parseQuery(QueryExecutorImpl.java:191)
   at org.postgresql.core.v3.QueryExecutorImpl.createSimpleQuery(QueryExecutorImpl.java:113)
   at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:373)
   at org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc2Statement.java:254)
   at org.postgresql.jdbc2.AbstractJdbc2DatabaseMetaData.getTables(AbstractJdbc2DatabaseMetaData.java:2069)
   at com.mchange.v2.c3p0.impl.DefaultConnectionTester.activeCheckConnectionNoQuery(DefaultConnectionTester.java:185)
   at com.mchange.v2.c3p0.impl.DefaultConnectionTester.activeCheckConnection(DefaultConnectionTester.java:62)
   at com.mchange.v2.c3p0.AbstractConnectionTester.activeCheckConnection(AbstractConnectionTester.java:67)
   at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.testPooledConnection(C3P0PooledConnectionPool.java:368)
   at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.refurbishIdleResource(C3P0PooledConnectionPool.java:310)
   at com.mchange.v2.resourcepool.BasicResourcePool$AsyncTestIdleResourceTask.run(BasicResourcePool.java:1999)
   at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)
java.lang.OutOfMemoryError: Java heap space
   at java.lang.AbstractStringBuilder.<init>(AbstractStringBuilder.java:64)
   at java.lang.StringBuffer.<init>(StringBuffer.java:108)
   at java.io.StringWriter.<init>(StringWriter.java:69)
   at com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector.run(ThreadPoolAsynchronousRunner.java:609)
   at java.util.TimerThread.mainLoop(Timer.java:555)
   at java.util.TimerThread.run(Timer.java:505)
java.lang.OutOfMemoryError: Java heap space
   at java.util.Arrays.copyOf(Arrays.java:2367)
   at java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:130)
   at java.lang.AbstractStringBuilder.ensureCapacityInternal(AbstractStringBuilder.java:114)
   at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:415)
   at java.lang.StringBuffer.append(StringBuffer.java:237)
   at org.postgresql.jdbc2.AbstractJdbc2DatabaseMetaData.getTables(AbstractJdbc2DatabaseMetaData.java:2052)
   at com.mchange.v2.c3p0.impl.DefaultConnectionTester.activeCheckConnectionNoQuery(DefaultConnectionTester.java:185)
   at com.mchange.v2.c3p0.impl.DefaultConnectionTester.activeCheckConnection(DefaultConnectionTester.java:62)
   at com.mchange.v2.c3p0.AbstractConnectionTester.activeCheckConnection(AbstractConnectionTester.java:67)
   at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.testPooledConnection(C3P0PooledConnectionPool.java:368)
   at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.refurbishIdleResource(C3P0PooledConnectionPool.java:310)
   at com.mchange.v2.resourcepool.BasicResourcePool$AsyncTestIdleResourceTask.run(BasicResourcePool.java:1999)
   at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)
[ERROR] [utils.HibernateCriteriaUtil] - org.hibernate.InstantiationException: Could not instantiate entity: com.arahant.beans.Person
org.hibernate.InstantiationException: Could not instantiate entity: com.arahant.beans.Person
   at org.hibernate.tuple.PojoInstantiator.instantiate(PojoInstantiator.java:114)
   at org.hibernate.tuple.PojoInstantiator.instantiate(PojoInstantiator.java:123)
   at org.hibernate.tuple.entity.AbstractEntityTuplizer.instantiate(AbstractEntityTuplizer.java:603)
   at org.hibernate.persister.entity.AbstractEntityPersister.instantiate(AbstractEntityPersister.java:3886)
   at org.hibernate.impl.SessionImpl.instantiate(SessionImpl.java:1422)
   at org.hibernate.impl.SessionImpl.instantiate(SessionImpl.java:1411)
   at org.hibernate.loader.Loader.instanceNotYetLoaded(Loader.java:1446)
   at org.hibernate.loader.Loader.getRow(Loader.java:1355)
   at org.hibernate.loader.Loader.getRowFromResultSet(Loader.java:611)
   at org.hibernate.loader.Loader.doQuery(Loader.java:829)
   at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:274)
   at org.hibernate.loader.Loader.doList(Loader.java:2533)
   at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2276)
   at org.hibernate.loader.Loader.list(Loader.java:2271)
   at org.hibernate.loader.criteria.CriteriaLoader.list(CriteriaLoader.java:119)
   at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1716)
   at org.hibernate.impl.CriteriaImpl.list(CriteriaImpl.java:347)
   at com.arahant.utils.HibernateCriteriaUtil.list(HibernateCriteriaUtil.java:1244)
   at com.arahant.utils.HibernateCriteriaUtil.first(HibernateCriteriaUtil.java:1849)
   at com.arahant.utils.HibernateSessionUtil.setCurrentPersonToArahant(HibernateSessionUtil.java:1059)
   at com.arahant.timertasks.TimerTaskBase.run(TimerTaskBase.java:39)
   at java.util.TimerThread.mainLoop(Timer.java:555)
   at java.util.TimerThread.run(Timer.java:505)
Caused by: java.lang.reflect.InvocationTargetException
   at sun.reflect.GeneratedConstructorAccessor121.newInstance(Unknown Source)
   at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
   at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
   at org.hibernate.tuple.PojoInstantiator.instantiate(PojoInstantiator.java:111)
   ... 22 more
Caused by: java.lang.OutOfMemoryError: Java heap space
   at java.util.Arrays.copyOf(Arrays.java:2271)
   at java.io.ByteArrayOutputStream.grow(ByteArrayOutputStream.java:113)
   at java.io.ByteArrayOutputStream.ensureCapacity(ByteArrayOutputStream.java:93)
   at java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:122)
   at java.io.DataOutputStream.writeInt(DataOutputStream.java:200)
   at java.io.ObjectStreamClass.computeDefaultSUID(ObjectStreamClass.java:1795)
   at java.io.ObjectStreamClass.access$100(ObjectStreamClass.java:72)
   at java.io.ObjectStreamClass$1.run(ObjectStreamClass.java:250)
   at java.io.ObjectStreamClass$1.run(ObjectStreamClass.java:248)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.io.ObjectStreamClass.getSerialVersionUID(ObjectStreamClass.java:247)
   at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:613)
   at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1622)
   at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1517)
   at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1771)
   at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1350)
   at java.io.ObjectInputStream.readObject(ObjectInputStream.java:370)
   at jess.Rete.bload(Rete.java:1812)
   at com.arahant.utils.ArahantSession.getAI(ArahantSession.java:467)
   at com.arahant.utils.JessBean.<init>(JessBean.java:186)
   at com.arahant.beans.ArahantBean.<init>(ArahantBean.java:31)
   at com.arahant.beans.AuditedBean.<init>(AuditedBean.java:22)
   at com.arahant.beans.Person.<init>(Person.java:305)
   at sun.reflect.GeneratedConstructorAccessor121.newInstance(Unknown Source)
   at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
   at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
   at org.hibernate.tuple.PojoInstantiator.instantiate(PojoInstantiator.java:111)
   at org.hibernate.tuple.PojoInstantiator.instantiate(PojoInstantiator.java:123)
   at org.hibernate.tuple.entity.AbstractEntityTuplizer.instantiate(AbstractEntityTuplizer.java:603)
   at org.hibernate.persister.entity.AbstractEntityPersister.instantiate(AbstractEntityPersister.java:3886)
   at org.hibernate.impl.SessionImpl.instantiate(SessionImpl.java:1422)
   at org.hibernate.impl.SessionImpl.instantiate(SessionImpl.java:1411)
org.hibernate.InstantiationException: Could not instantiate entity: com.arahant.beans.Person
   at org.hibernate.tuple.PojoInstantiator.instantiate(PojoInstantiator.java:114)
   at org.hibernate.tuple.PojoInstantiator.instantiate(PojoInstantiator.java:123)
   at org.hibernate.tuple.entity.AbstractEntityTuplizer.instantiate(AbstractEntityTuplizer.java:603)
[ERROR] [utils.HibernateCriteriaUtil] - 2015-04-27 02:39:12 org.hibernate.InstantiationException: Could not instantiate entity: com.arahant.beans.Person
   at org.hibernate.tuple.PojoInstantiator.instantiate(PojoInstantiator.java:114)
   at org.hibernate.tuple.PojoInstantiator.instantiate(PojoInstantiator.java:123)
   at org.hibernate.tuple.entity.AbstractEntityTuplizer.instantiate(AbstractEntityTuplizer.java:603)
   at org.hibernate.persister.entity.AbstractEntityPersister.instantiate(AbstractEntityPersister.java:3886)
   at org.hibernate.impl.SessionImpl.instantiate(SessionImpl.java:1422)
   at org.hibernate.impl.SessionImpl.instantiate(SessionImpl.java:1411)
   at org.hibernate.loader.Loader.instanceNotYetLoaded(Loader.java:1446)
   at org.hibernate.loader.Loader.getRow(Loader.java:1355)
   at org.hibernate.loader.Loader.getRowFromResultSet(Loader.java:611)
   at org.hibernate.loader.Loader.doQuery(Loader.java:829)
   at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:274)
   at org.hibernate.loader.Loader.doList(Loader.java:2533)
   at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2276)
   at org.hibernate.loader.Loader.list(Loader.java:2271)
   at org.hibernate.loader.criteria.CriteriaLoader.list(CriteriaLoader.java:119)
   at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1716)
   at org.hibernate.impl.CriteriaImpl.list(CriteriaImpl.java:347)
   at com.arahant.utils.HibernateCriteriaUtil.list(HibernateCriteriaUtil.java:1244)
   at com.arahant.utils.HibernateCriteriaUtil.first(HibernateCriteriaUtil.java:1849)
   at com.arahant.utils.HibernateSessionUtil.setCurrentPersonToArahant(HibernateSessionUtil.java:1059)
   at com.arahant.timertasks.TimerTaskBase.run(TimerTaskBase.java:39)
   at java.util.TimerThread.mainLoop(Timer.java:555)
   at java.util.TimerThread.run(Timer.java:505)
Caused by: java.lang.reflect.InvocationTargetException
   at sun.reflect.GeneratedConstructorAccessor121.newInstance(Unknown Source)
   at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
   at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
   at org.hibernate.tuple.PojoInstantiator.instantiate(PojoInstantiator.java:111)
   ... 22 more
Caused by: java.lang.OutOfMemoryError: Java heap space
   at java.util.Arrays.copyOf(Arrays.java:2271)
   at java.io.ByteArrayOutputStream.grow(ByteArrayOutputStream.java:113)
   at java.io.ByteArrayOutputStream.ensureCapacity(ByteArrayOutputStream.java:93)
   at java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:122)
   at java.io.DataOutputStream.writeInt(DataOutputStream.java:200)
   at java.io.ObjectStreamClass.computeDefaultSUID(ObjectStreamClass.java:1795)
   at java.io.ObjectStreamClass.access$100(ObjectStreamClass.java:72)
   at java.io.ObjectStreamClass$1.run(ObjectStreamClass.java:250)
   at java.io.ObjectStreamClass$1.run(ObjectStreamClass.java:248)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.io.ObjectStreamClass.getSerialVersionUID(ObjectStreamClass.java:247)
   at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:613)
   at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1622)
   at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1517)
   at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1771)
   at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1350)
   at java.io.ObjectInputStream.readObject(ObjectInputStream.java:370)
   at jess.Rete.bload(Rete.java:1812)
   at com.arahant.utils.ArahantSession.getAI(ArahantSession.java:467)
   at com.arahant.utils.JessBean.<init>(JessBean.java:186)
   at com.arahant.beans.ArahantBean.<init>(ArahantBean.java:31)
   at com.arahant.beans.AuditedBean.<init>(AuditedBean.java:22)
   at com.arahant.beans.Person.<init>(Person.java:305)
   at sun.reflect.GeneratedConstructorAccessor121.newInstance(Unknown Source)
   at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
   at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
   at org.hibernate.tuple.PojoInstantiator.instantiate(PojoInstantiator.java:111)
   at org.hibernate.tuple.PojoInstantiator.instantiate(PojoInstantiator.java:123)
   at org.hibernate.tuple.entity.AbstractEntityTuplizer.instantiate(AbstractEntityTuplizer.java:603)
   at org.hibernate.persister.entity.AbstractEntityPersister.instantiate(AbstractEntityPersister.java:3886)
   at org.hibernate.impl.SessionImpl.instantiate(SessionImpl.java:1422)
   at org.hibernate.impl.SessionImpl.instantiate(SessionImpl.java:1411)

   at org.hibernate.persister.entity.AbstractEntityPersister.instantiate(AbstractEntityPersister.java:3886)
   at org.hibernate.impl.SessionImpl.instantiate(SessionImpl.java:1422)
   at org.hibernate.impl.SessionImpl.instantiate(SessionImpl.java:1411)
   at org.hibernate.loader.Loader.instanceNotYetLoaded(Loader.java:1446)
   at org.hibernate.loader.Loader.getRow(Loader.java:1355)
   at org.hibernate.loader.Loader.getRowFromResultSet(Loader.java:611)
   at org.hibernate.loader.Loader.doQuery(Loader.java:829)
   at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:274)
   at org.hibernate.loader.Loader.doList(Loader.java:2533)
   at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2276)
   at org.hibernate.loader.Loader.list(Loader.java:2271)
   at org.hibernate.loader.criteria.CriteriaLoader.list(CriteriaLoader.java:119)
   at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1716)
   at org.hibernate.impl.CriteriaImpl.list(CriteriaImpl.java:347)
   at com.arahant.utils.HibernateCriteriaUtil.list(HibernateCriteriaUtil.java:1244)
   at com.arahant.utils.HibernateCriteriaUtil.first(HibernateCriteriaUtil.java:1849)
   at com.arahant.utils.HibernateSessionUtil.setCurrentPersonToArahant(HibernateSessionUtil.java:1059)
   at com.arahant.timertasks.TimerTaskBase.run(TimerTaskBase.java:39)
   at java.util.TimerThread.mainLoop(Timer.java:555)
   at java.util.TimerThread.run(Timer.java:505)
Caused by: java.lang.reflect.InvocationTargetException
   at sun.reflect.GeneratedConstructorAccessor121.newInstance(Unknown Source)
   at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
   at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
   at org.hibernate.tuple.PojoInstantiator.instantiate(PojoInstantiator.java:111)
   ... 22 more
Apr 27, 2015 2:37:20 AM com.sun.xml.ws.server.sei.EndpointMethodHandler invoke
SEVERE: Java heap space
java.lang.OutOfMemoryError: Java heap space

Caused by: java.lang.OutOfMemoryError: Java heap space
   at java.util.Arrays.copyOf(Arrays.java:2271)
   at java.io.ByteArrayOutputStream.grow(ByteArrayOutputStream.java:113)
   at java.io.ByteArrayOutputStream.ensureCapacity(ByteArrayOutputStream.java:93)
   at java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:122)
   at java.io.DataOutputStream.writeInt(DataOutputStream.java:200)
   at java.io.ObjectStreamClass.computeDefaultSUID(ObjectStreamClass.java:1795)
   at java.io.ObjectStreamClass.access$100(ObjectStreamClass.java:72)
   at java.io.ObjectStreamClass$1.run(ObjectStreamClass.java:250)
   at java.io.ObjectStreamClass$1.run(ObjectStreamClass.java:248)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.io.ObjectStreamClass.getSerialVersionUID(ObjectStreamClass.java:247)
   at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:613)
   at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1622)
   at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1517)
   at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1771)
   at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1350)
   at java.io.ObjectInputStream.readObject(ObjectInputStream.java:370)
   at jess.Rete.bload(Rete.java:1812)
   at com.arahant.utils.ArahantSession.getAI(ArahantSession.java:467)
   at com.arahant.utils.JessBean.<init>(JessBean.java:186)
   at com.arahant.beans.ArahantBean.<init>(ArahantBean.java:31)
   at com.arahant.beans.AuditedBean.<init>(AuditedBean.java:22)
   at com.arahant.beans.Person.<init>(Person.java:305)
   at sun.reflect.GeneratedConstructorAccessor121.newInstance(Unknown Source)
   at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
   at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
   at org.hibernate.tuple.PojoInstantiator.instantiate(PojoInstantiator.java:111)
   at org.hibernate.tuple.PojoInstantiator.instantiate(PojoInstantiator.java:123)
   at org.hibernate.tuple.entity.AbstractEntityTuplizer.instantiate(AbstractEntityTuplizer.java:603)
   at org.hibernate.persister.entity.AbstractEntityPersister.instantiate(AbstractEntityPersister.java:3886)
   at org.hibernate.impl.SessionImpl.instantiate(SessionImpl.java:1422)
   at org.hibernate.impl.SessionImpl.instantiate(SessionImpl.java:1411)

Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "ajp-bio-8009-AsyncTimeout"
Exception in thread "http-bio-8084-AsyncTimeout" java.lang.OutOfMemoryError: Java heap space
org.hibernate.InstantiationException: Could not instantiate entity: com.arahant.beans.Person
   at org.hibernate.tuple.PojoInstantiator.instantiate(PojoInstantiator.java:114)
   at org.hibernate.tuple.PojoInstantiator.instantiate(PojoInstantiator.java:123)
   at org.hibernate.tuple.entity.AbstractEntityTuplizer.instantiate(AbstractEntityTuplizer.java:603)
   at org.hibernate.persister.entity.AbstractEntityPersister.instantiate(AbstractEntityPersister.java:3886)
   at org.hibernate.impl.SessionImpl.instantiate(SessionImpl.java:1422)
[ERROR] [utils.HibernateCriteriaUtil] - org.hibernate.InstantiationException: Could not instantiate entity: com.arahant.beans.Person
   at org.hibernate.impl.SessionImpl.instantiate(SessionImpl.java:1411)
   at org.hibernate.loader.Loader.instanceNotYetLoaded(Loader.java:1446)
   at org.hibernate.loader.Loader.getRow(Loader.java:1355)
   at org.hibernate.loader.Loader.getRowFromResultSet(Loader.java:611)
   at org.hibernate.loader.Loader.doQuery(Loader.java:829)
   at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:274)
   at org.hibernate.loader.Loader.doList(Loader.java:2533)
   at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2276)
   at org.hibernate.loader.Loader.list(Loader.java:2271)
   at org.hibernate.loader.criteria.CriteriaLoader.list(CriteriaLoader.java:119)
   at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1716)
   at org.hibernate.impl.CriteriaImpl.list(CriteriaImpl.java:347)
   at com.arahant.utils.HibernateCriteriaUtil.list(HibernateCriteriaUtil.java:1244)
   at com.arahant.utils.HibernateCriteriaUtil.first(HibernateCriteriaUtil.java:1849)
   at com.arahant.utils.HibernateSessionUtil.setCurrentPersonToArahant(HibernateSessionUtil.java:1059)
   at com.arahant.business.BHRBenefitJoin.deleteExpiredBenefits(BHRBenefitJoin.java:2814)
   at com.arahant.timertasks.DeleteExpiredObjects.execute(DeleteExpiredObjects.java:27)
   at com.arahant.timertasks.TimerTaskBase.run(TimerTaskBase.java:41)
Apr 27, 2015 2:44:15 AM com.sun.xml.ws.transport.http.servlet.WSServletDelegate doGet
SEVERE: caught throwable
java.lang.OutOfMemoryError: Java heap space

   at java.util.TimerThread.mainLoop(Timer.java:555)
   at java.util.TimerThread.run(Timer.java:505)
Caused by: java.lang.reflect.InvocationTargetException
   at sun.reflect.GeneratedConstructorAccessor121.newInstance(Unknown Source)
   at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
   at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
   at org.hibernate.tuple.PojoInstantiator.instantiate(PojoInstantiator.java:111)
   ... 24 more
Caused by: java.lang.OutOfMemoryError: Java heap space
[ERROR] [utils.HibernateCriteriaUtil] - 2015-04-27 02:44:20 org.hibernate.InstantiationException: Could not instantiate entity: com.arahant.beans.Person
   at org.hibernate.tuple.PojoInstantiator.instantiate(PojoInstantiator.java:114)
   at org.hibernate.tuple.PojoInstantiator.instantiate(PojoInstantiator.java:123)
   at org.hibernate.tuple.entity.AbstractEntityTuplizer.instantiate(AbstractEntityTuplizer.java:603)
   at org.hibernate.persister.entity.AbstractEntityPersister.instantiate(AbstractEntityPersister.java:3886)
   at org.hibernate.impl.SessionImpl.instantiate(SessionImpl.java:1422)
   at org.hibernate.impl.SessionImpl.instantiate(SessionImpl.java:1411)
   at org.hibernate.loader.Loader.instanceNotYetLoaded(Loader.java:1446)
   at org.hibernate.loader.Loader.getRow(Loader.java:1355)
   at org.hibernate.loader.Loader.getRowFromResultSet(Loader.java:611)
   at org.hibernate.loader.Loader.doQuery(Loader.java:829)
   at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:274)
   at org.hibernate.loader.Loader.doList(Loader.java:2533)
   at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2276)
   at org.hibernate.loader.Loader.list(Loader.java:2271)
   at org.hibernate.loader.criteria.CriteriaLoader.list(CriteriaLoader.java:119)
   at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1716)
   at org.hibernate.impl.CriteriaImpl.list(CriteriaImpl.java:347)
   at com.arahant.utils.HibernateCriteriaUtil.list(HibernateCriteriaUtil.java:1244)
   at com.arahant.utils.HibernateCriteriaUtil.first(HibernateCriteriaUtil.java:1849)
   at com.arahant.utils.HibernateSessionUtil.setCurrentPersonToArahant(HibernateSessionUtil.java:1059)
   at com.arahant.business.BHRBenefitJoin.deleteExpiredBenefits(BHRBenefitJoin.java:2814)
   at com.arahant.timertasks.DeleteExpiredObjects.execute(DeleteExpiredObjects.java:27)
   at com.arahant.timertasks.TimerTaskBase.run(TimerTaskBase.java:41)
   at java.util.TimerThread.mainLoop(Timer.java:555)
   at java.util.TimerThread.run(Timer.java:505)
Caused by: java.lang.reflect.InvocationTargetException
   at sun.reflect.GeneratedConstructorAccessor121.newInstance(Unknown Source)
   at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
   at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
   at org.hibernate.tuple.PojoInstantiator.instantiate(PojoInstantiator.java:111)
   ... 24 more
Caused by: java.lang.OutOfMemoryError: Java heap space

org.hibernate.InstantiationException: Could not instantiate entity: com.arahant.beans.Person
   at org.hibernate.tuple.PojoInstantiator.instantiate(PojoInstantiator.java:114)
   at org.hibernate.tuple.PojoInstantiator.instantiate(PojoInstantiator.java:123)
   at org.hibernate.tuple.entity.AbstractEntityTuplizer.instantiate(AbstractEntityTuplizer.java:603)
   at org.hibernate.persister.entity.AbstractEntityPersister.instantiate(AbstractEntityPersister.java:3886)
   at org.hibernate.impl.SessionImpl.instantiate(SessionImpl.java:1422)
   at org.hibernate.impl.SessionImpl.instantiate(SessionImpl.java:1411)
   at org.hibernate.loader.Loader.instanceNotYetLoaded(Loader.java:1446)
   at org.hibernate.loader.Loader.getRow(Loader.java:1355)
   at org.hibernate.loader.Loader.getRowFromResultSet(Loader.java:611)
   at org.hibernate.loader.Loader.doQuery(Loader.java:829)
   at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:274)
   at org.hibernate.loader.Loader.doList(Loader.java:2533)
   at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2276)
   at org.hibernate.loader.Loader.list(Loader.java:2271)
   at org.hibernate.loader.criteria.CriteriaLoader.list(CriteriaLoader.java:119)
   at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1716)
   at org.hibernate.impl.CriteriaImpl.list(CriteriaImpl.java:347)
   at com.arahant.utils.HibernateCriteriaUtil.list(HibernateCriteriaUtil.java:1244)
   at com.arahant.utils.HibernateCriteriaUtil.first(HibernateCriteriaUtil.java:1849)
   at com.arahant.utils.HibernateSessionUtil.setCurrentPersonToArahant(HibernateSessionUtil.java:1059)
   at com.arahant.business.BHRBenefitJoin.deleteExpiredBenefits(BHRBenefitJoin.java:2814)
   at com.arahant.timertasks.DeleteExpiredObjects.execute(DeleteExpiredObjects.java:27)
   at com.arahant.timertasks.TimerTaskBase.run(TimerTaskBase.java:41)
   at java.util.TimerThread.mainLoop(Timer.java:555)
   at java.util.TimerThread.run(Timer.java:505)
Caused by: java.lang.reflect.InvocationTargetException
   at sun.reflect.GeneratedConstructorAccessor121.newInstance(Unknown Source)
   at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
   at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
   at org.hibernate.tuple.PojoInstantiator.instantiate(PojoInstantiator.java:111)
   ... 24 more
Caused by: java.lang.OutOfMemoryError: Java heap space
[ERROR] [business.BHRBenefitJoin  ] - org.hibernate.InstantiationException: Could not instantiate entity: com.arahant.beans.Property
org.hibernate.InstantiationException: Could not instantiate entity: com.arahant.beans.Property
   at org.hibernate.tuple.PojoInstantiator.instantiate(PojoInstantiator.java:114)
   at org.hibernate.tuple.PojoInstantiator.instantiate(PojoInstantiator.java:123)
   at org.hibernate.tuple.entity.AbstractEntityTuplizer.instantiate(AbstractEntityTuplizer.java:603)
   at org.hibernate.persister.entity.AbstractEntityPersister.instantiate(AbstractEntityPersister.java:3886)
   at org.hibernate.impl.SessionImpl.instantiate(SessionImpl.java:1422)
   at org.hibernate.impl.SessionImpl.instantiate(SessionImpl.java:1411)
   at org.hibernate.loader.Loader.instanceNotYetLoaded(Loader.java:1446)
   at org.hibernate.loader.Loader.getRow(Loader.java:1355)
   at org.hibernate.loader.Loader.getRowFromResultSet(Loader.java:611)
   at org.hibernate.loader.Loader.doQuery(Loader.java:829)
   at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:274)
   at org.hibernate.loader.Loader.loadEntity(Loader.java:2037)
   at org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:86)
   at org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:76)
   at org.hibernate.persister.entity.AbstractEntityPersister.load(AbstractEntityPersister.java:3268)
   at org.hibernate.event.def.DefaultLoadEventListener.loadFromDatasource(DefaultLoadEventListener.java:496)
   at org.hibernate.event.def.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:477)
   at org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:227)
   at org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:285)
   at org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:152)
   at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:1090)
   at org.hibernate.impl.SessionImpl.get(SessionImpl.java:1005)
   at org.hibernate.impl.SessionImpl.get(SessionImpl.java:998)
   at com.arahant.utils.HibernateSessionUtil.get(HibernateSessionUtil.java:826)
   at com.arahant.business.BProperty.load(BProperty.java:119)
   at com.arahant.business.BProperty.<init>(BProperty.java:100)
   at com.arahant.business.BProperty.getInt(BProperty.java:50)
   at com.arahant.utils.HibernateScrollUtil.<init>(HibernateScrollUtil.java:65)
   at com.arahant.utils.HibernateCriteriaUtil.scroll(HibernateCriteriaUtil.java:1416)
   at com.arahant.business.BHRBenefitJoin.deleteExpiredBenefits(BHRBenefitJoin.java:2819)
   at com.arahant.timertasks.DeleteExpiredObjects.execute(DeleteExpiredObjects.java:27)
   at com.arahant.timertasks.TimerTaskBase.run(TimerTaskBase.java:41)
   at java.util.TimerThread.mainLoop(Timer.java:555)
   at java.util.TimerThread.run(Timer.java:505)
Caused by: java.lang.reflect.InvocationTargetException
   at sun.reflect.GeneratedConstructorAccessor110.newInstance(Unknown Source)
   at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
   at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
   at org.hibernate.tuple.PojoInstantiator.instantiate(PojoInstantiator.java:111)
   ... 33 more
Caused by: java.lang.OutOfMemoryError: Java heap space
[ERROR] [business.BHRBenefitJoin  ] - 2015-04-27 03:03:17 org.hibernate.InstantiationException: Could not instantiate entity: com.arahant.beans.Property
   at org.hibernate.tuple.PojoInstantiator.instantiate(PojoInstantiator.java:114)
   at org.hibernate.tuple.PojoInstantiator.instantiate(PojoInstantiator.java:123)
   at org.hibernate.tuple.entity.AbstractEntityTuplizer.instantiate(AbstractEntityTuplizer.java:603)
   at org.hibernate.persister.entity.AbstractEntityPersister.instantiate(AbstractEntityPersister.java:3886)
   at org.hibernate.impl.SessionImpl.instantiate(SessionImpl.java:1422)
   at org.hibernate.impl.SessionImpl.instantiate(SessionImpl.java:1411)
   at org.hibernate.loader.Loader.instanceNotYetLoaded(Loader.java:1446)
   at org.hibernate.loader.Loader.getRow(Loader.java:1355)
   at org.hibernate.loader.Loader.getRowFromResultSet(Loader.java:611)
   at org.hibernate.loader.Loader.doQuery(Loader.java:829)
   at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:274)
   at org.hibernate.loader.Loader.loadEntity(Loader.java:2037)
   at org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:86)
   at org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:76)
   at org.hibernate.persister.entity.AbstractEntityPersister.load(AbstractEntityPersister.java:3268)
   at org.hibernate.event.def.DefaultLoadEventListener.loadFromDatasource(DefaultLoadEventListener.java:496)
   at org.hibernate.event.def.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:477)
   at org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:227)
   at org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:285)
   at org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:152)
   at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:1090)
   at org.hibernate.impl.SessionImpl.get(SessionImpl.java:1005)
   at org.hibernate.impl.SessionImpl.get(SessionImpl.java:998)
   at com.arahant.utils.HibernateSessionUtil.get(HibernateSessionUtil.java:826)
   at com.arahant.business.BProperty.load(BProperty.java:119)
   at com.arahant.business.BProperty.<init>(BProperty.java:100)
   at com.arahant.business.BProperty.getInt(BProperty.java:50)
   at com.arahant.utils.HibernateScrollUtil.<init>(HibernateScrollUtil.java:65)
   at com.arahant.utils.HibernateCriteriaUtil.scroll(HibernateCriteriaUtil.java:1416)
   at com.arahant.business.BHRBenefitJoin.deleteExpiredBenefits(BHRBenefitJoin.java:2819)
   at com.arahant.timertasks.DeleteExpiredObjects.execute(DeleteExpiredObjects.java:27)
   at com.arahant.timertasks.TimerTaskBase.run(TimerTaskBase.java:41)
   at java.util.TimerThread.mainLoop(Timer.java:555)
   at java.util.TimerThread.run(Timer.java:505)
Caused by: java.lang.reflect.InvocationTargetException
   at sun.reflect.GeneratedConstructorAccessor110.newInstance(Unknown Source)
   at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
   at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
   at org.hibernate.tuple.PojoInstantiator.instantiate(PojoInstantiator.java:111)
   ... 33 more
Caused by: java.lang.OutOfMemoryError: Java heap space

Exception in thread "Timer-5" java.lang.OutOfMemoryError: Java heap space

Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "ContainerBackgroundProcessor[StandardEngine[Catalina]]"
org.hibernate.InstantiationException: Could not instantiate entity: com.arahant.beans.Person
   at org.hibernate.tuple.PojoInstantiator.instantiate(PojoInstantiator.java:114)
   at org.hibernate.tuple.PojoInstantiator.instantiate(PojoInstantiator.java:123)
   at org.hibernate.tuple.entity.AbstractEntityTuplizer.instantiate(AbstractEntityTuplizer.java:603)
   at org.hibernate.persister.entity.AbstractEntityPersister.instantiate(AbstractEntityPersister.java:3886)
   at org.hibernate.impl.SessionImpl.instantiate(SessionImpl.java:1422)
   at org.hibernate.impl.SessionImpl.instantiate(SessionImpl.java:1411)
   at org.hibernate.loader.Loader.instanceNotYetLoaded(Loader.java:1446)
   at org.hibernate.loader.Loader.getRow(Loader.java:1355)
   at org.hibernate.loader.Loader.getRowFromResultSet(Loader.java:611)
   at org.hibernate.loader.Loader.doQuery(Loader.java:829)
   at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:274)
   at org.hibernate.loader.Loader.doList(Loader.java:2533)
   at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2276)
   at org.hibernate.loader.Loader.list(Loader.java:2271)
   at org.hibernate.loader.criteria.CriteriaLoader.list(CriteriaLoader.java:119)
   at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1716)
   at org.hibernate.impl.CriteriaImpl.list(CriteriaImpl.java:347)
   at com.arahant.utils.HibernateCriteriaUtil.list(HibernateCriteriaUtil.java:1244)
   at com.arahant.utils.HibernateCriteriaUtil.first(HibernateCriteriaUtil.java:1849)
   at com.arahant.utils.HibernateSessionUtil.setCurrentPersonToArahant(HibernateSessionUtil.java:1059)
   at com.arahant.business.BOrgGroupAssociation.deleteExpiredAssocations(BOrgGroupAssociation.java:76)
   at com.arahant.timertasks.DeleteExpiredObjects.execute(DeleteExpiredObjects.java:28)
   at com.arahant.timertasks.TimerTaskBase.run(TimerTaskBase.java:41)
   at java.util.TimerThread.mainLoop(Timer.java:555)
   at java.util.TimerThread.run(Timer.java:505)
Caused by: java.lang.reflect.InvocationTargetException
   at sun.reflect.GeneratedConstructorAccessor121.newInstance(Unknown Source)
   at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
   at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
   at org.hibernate.tuple.PojoInstantiator.instantiate(PojoInstantiator.java:111)
   ... 24 more
Caused by: java.lang.OutOfMemoryError: Java heap space
org.hibernate.InstantiationException: Could not instantiate entity: com.arahant.beans.Person
   at org.hibernate.tuple.PojoInstantiator.instantiate(PojoInstantiator.java:114)
   at org.hibernate.tuple.PojoInstantiator.instantiate(PojoInstantiator.java:123)
   at org.hibernate.tuple.entity.AbstractEntityTuplizer.instantiate(AbstractEntityTuplizer.java:603)
   at org.hibernate.persister.entity.AbstractEntityPersister.instantiate(AbstractEntityPersister.java:3886)
   at org.hibernate.impl.SessionImpl.instantiate(SessionImpl.java:1422)
   at org.hibernate.impl.SessionImpl.instantiate(SessionImpl.java:1411)
   at org.hibernate.loader.Loader.instanceNotYetLoaded(Loader.java:1446)
   at org.hibernate.loader.Loader.getRow(Loader.java:1355)
   at org.hibernate.loader.Loader.getRowFromResultSet(Loader.java:611)
   at org.hibernate.loader.Loader.doQuery(Loader.java:829)
   at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:274)
   at org.hibernate.loader.Loader.doList(Loader.java:2533)
   at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2276)
   at org.hibernate.loader.Loader.list(Loader.java:2271)
   at org.hibernate.loader.criteria.CriteriaLoader.list(CriteriaLoader.java:119)
   at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1716)
   at org.hibernate.impl.CriteriaImpl.list(CriteriaImpl.java:347)
   at com.arahant.utils.HibernateCriteriaUtil.list(HibernateCriteriaUtil.java:1244)
   at com.arahant.utils.HibernateCriteriaUtil.first(HibernateCriteriaUtil.java:1849)
   at com.arahant.utils.HibernateSessionUtil.setCurrentPersonToArahant(HibernateSessionUtil.java:1059)
   at com.arahant.business.BOrgGroupAssociation.deleteExpiredAssocations(BOrgGroupAssociation.java:76)
   at com.arahant.timertasks.DeleteExpiredObjects.execute(DeleteExpiredObjects.java:28)
   at com.arahant.timertasks.TimerTaskBase.run(TimerTaskBase.java:41)
   at java.util.TimerThread.mainLoop(Timer.java:555)
   at java.util.TimerThread.run(Timer.java:505)
Caused by: java.lang.reflect.InvocationTargetException
   at sun.reflect.GeneratedConstructorAccessor121.newInstance(Unknown Source)
   at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
   at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
   at org.hibernate.tuple.PojoInstantiator.instantiate(PojoInstantiator.java:111)
   ... 24 more
Caused by: java.lang.OutOfMemoryError: Java heap space
[ERROR] [utils.HibernateCriteriaUtil] - org.hibernate.InstantiationException: Could not instantiate entity: com.arahant.beans.Person
[ERROR] [utils.HibernateCriteriaUtil] - 2015-04-27 03:47:20 org.hibernate.InstantiationException: Could not instantiate entity: com.arahant.beans.Person
   at org.hibernate.tuple.PojoInstantiator.instantiate(PojoInstantiator.java:114)
   at org.hibernate.tuple.PojoInstantiator.instantiate(PojoInstantiator.java:123)
   at org.hibernate.tuple.entity.AbstractEntityTuplizer.instantiate(AbstractEntityTuplizer.java:603)
   at org.hibernate.persister.entity.AbstractEntityPersister.instantiate(AbstractEntityPersister.java:3886)
   at org.hibernate.impl.SessionImpl.instantiate(SessionImpl.java:1422)
   at org.hibernate.impl.SessionImpl.instantiate(SessionImpl.java:1411)
   at org.hibernate.loader.Loader.instanceNotYetLoaded(Loader.java:1446)
   at org.hibernate.loader.Loader.getRow(Loader.java:1355)
   at org.hibernate.loader.Loader.getRowFromResultSet(Loader.java:611)
   at org.hibernate.loader.Loader.doQuery(Loader.java:829)
   at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:274)
   at org.hibernate.loader.Loader.doList(Loader.java:2533)
   at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2276)
   at org.hibernate.loader.Loader.list(Loader.java:2271)
   at org.hibernate.loader.criteria.CriteriaLoader.list(CriteriaLoader.java:119)
   at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1716)
   at org.hibernate.impl.CriteriaImpl.list(CriteriaImpl.java:347)
   at com.arahant.utils.HibernateCriteriaUtil.list(HibernateCriteriaUtil.java:1244)
   at com.arahant.utils.HibernateCriteriaUtil.first(HibernateCriteriaUtil.java:1849)
   at com.arahant.utils.HibernateSessionUtil.setCurrentPersonToArahant(HibernateSessionUtil.java:1059)
   at com.arahant.business.BOrgGroupAssociation.deleteExpiredAssocations(BOrgGroupAssociation.java:76)
   at com.arahant.timertasks.DeleteExpiredObjects.execute(DeleteExpiredObjects.java:28)
   at com.arahant.timertasks.TimerTaskBase.run(TimerTaskBase.java:41)
   at java.util.TimerThread.mainLoop(Timer.java:555)
   at java.util.TimerThread.run(Timer.java:505)
Caused by: java.lang.reflect.InvocationTargetException
   at sun.reflect.GeneratedConstructorAccessor121.newInstance(Unknown Source)
   at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
   at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
   at org.hibernate.tuple.PojoInstantiator.instantiate(PojoInstantiator.java:111)
   ... 24 more
Caused by: java.lang.OutOfMemoryError: Java heap space

org.hibernate.InstantiationException: Could not instantiate entity: com.arahant.beans.Property
   at org.hibernate.tuple.PojoInstantiator.instantiate(PojoInstantiator.java:114)
   at org.hibernate.tuple.PojoInstantiator.instantiate(PojoInstantiator.java:123)
   at org.hibernate.tuple.entity.AbstractEntityTuplizer.instantiate(AbstractEntityTuplizer.java:603)
   at org.hibernate.persister.entity.AbstractEntityPersister.instantiate(AbstractEntityPersister.java:3886)
   at org.hibernate.impl.SessionImpl.instantiate(SessionImpl.java:1422)
   at org.hibernate.impl.SessionImpl.instantiate(SessionImpl.java:1411)
   at org.hibernate.loader.Loader.instanceNotYetLoaded(Loader.java:1446)
   at org.hibernate.loader.Loader.getRow(Loader.java:1355)
   at org.hibernate.loader.Loader.getRowFromResultSet(Loader.java:611)
   at org.hibernate.loader.Loader.doQuery(Loader.java:829)
   at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:274)
   at org.hibernate.loader.Loader.loadEntity(Loader.java:2037)
   at org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:86)
   at org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:76)
   at org.hibernate.persister.entity.AbstractEntityPersister.load(AbstractEntityPersister.java:3268)
   at org.hibernate.event.def.DefaultLoadEventListener.loadFromDatasource(DefaultLoadEventListener.java:496)
   at org.hibernate.event.def.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:477)
   at org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:227)
   at org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:285)
   at org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:152)
   at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:1090)
   at org.hibernate.impl.SessionImpl.get(SessionImpl.java:1005)
   at org.hibernate.impl.SessionImpl.get(SessionImpl.java:998)
   at com.arahant.utils.HibernateSessionUtil.get(HibernateSessionUtil.java:826)
   at com.arahant.business.BProperty.load(BProperty.java:119)
   at com.arahant.business.BProperty.<init>(BProperty.java:100)
   at com.arahant.business.BProperty.getInt(BProperty.java:50)
   at com.arahant.utils.HibernateScrollUtil.<init>(HibernateScrollUtil.java:65)
   at com.arahant.utils.HibernateCriteriaUtil.scroll(HibernateCriteriaUtil.java:1416)
   at com.arahant.business.BOrgGroupAssociation.deleteExpiredAssocations(BOrgGroupAssociation.java:82)
   at com.arahant.timertasks.DeleteExpiredObjects.execute(DeleteExpiredObjects.java:28)
   at com.arahant.timertasks.TimerTaskBase.run(TimerTaskBase.java:41)
   at java.util.TimerThread.mainLoop(Timer.java:555)
   at java.util.TimerThread.run(Timer.java:505)
Caused by: java.lang.reflect.InvocationTargetException
   at sun.reflect.GeneratedConstructorAccessor110.newInstance(Unknown Source)
   at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
   at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
   at org.hibernate.tuple.PojoInstantiator.instantiate(PojoInstantiator.java:111)
   ... 33 more
Caused by: java.lang.OutOfMemoryError: Java heap space
Exception in thread "Timer-1" java.lang.OutOfMemoryError: Java heap space
[ERROR] [timertasks.SendEdiTask   ] - org.hibernate.InstantiationException: Could not instantiate entity: com.arahant.beans.VendorCompany
[ERROR] [timertasks.SendEdiTask   ] - org.hibernate.InstantiationException: Could not instantiate entity: com.arahant.beans.VendorCompany

Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "Store com.arahant.beans.HrBenefitCategory Spool Thread"

Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "Store com.arahant.beans.HrBenefitConfig Spool Thread"
Exception in thread "Store com.arahant.beans.BenefitConfigCostAge Spool Thread" Exception in thread "Store com.arahant.beans.HrEmployeeStatus Spool Thread" java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
Exception in thread "Store com.arahant.beans.BenefitConfigCost Spool Thread" Exception in thread "Store com.arahant.beans.OrgGroup Spool Thread" java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
[ERROR] [timertasks.SendEdiTask   ] - org.hibernate.InstantiationException: Could not instantiate entity: com.arahant.beans.VendorCompany
[ERROR] [store.DiskStore          ] - com.arahant.beans.BenefitClass Cache: Could not expire elements from disk due to Java heap space. Continuing...
java.lang.OutOfMemoryError: Java heap space
[ERROR] [store.DiskStore          ] - com.arahant.beans.HrBenefit Cache: Could not expire elements from disk due to Java heap space. Continuing...
java.lang.OutOfMemoryError: Java heap space
[ERROR] [timertasks.SendEdiTask   ] - org.hibernate.InstantiationException: Could not instantiate entity: com.arahant.beans.VendorCompany


Any help that can be offered is greatly appreciated.

Blake McBride


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.