aspose file tools*
The moose likes BEA/Weblogic and the fly likes Weblogic Java heap space Error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Weblogic Java heap space Error" Watch "Weblogic Java heap space Error" New topic
Author

Weblogic Java heap space Error

Robinson Francis
Greenhorn

Joined: Aug 16, 2010
Posts: 22
Dear JavaRanch forummers,

I have a problem while trying to deploy my application to the Weblogic server on my laptop. The following is an excerpt of the stack trace.
<28 Ogos 2013 4:29:46 PM SGT> <Warning> <WorkManager> <BEA-002919> <Unable to find a WorkManager with name Sync_Portal_To_All_WorkManager. Dispatch policy Sync_Portal_To_All_WorkManager will map to the default WorkManager for the application iCareEAI_Sync_EAR>
<28 Ogos 2013 4:30:40 PM SGT> <Warning> <HTTP> <BEA-101162> <User defined listener org.springframework.web.context.ContextLoaderListener failed: java.lang.OutOfMemoryError: Java heap space.
java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOf(Arrays.java:2882)
at java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:100)
at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:390)
at java.lang.StringBuffer.append(StringBuffer.java:219)
at org.springframework.beans.factory.BeanCreationException.toString(BeanCreationException.java:154)
Truncated. see log file for complete stacktrace
>


The application is Spring framework based. The RAM installed on my laptop is 3.48GB. The machine is running on XP and is 32 bits. The Java Heap settings are as follows:

MEM_ARGS=-Xms1024m -Xmx1024m

I know that this issue has been raised many times in many forums yet following the advice in those threads got my nowhere. I believe my problem could be unique, hence my decision to post an unique thread. If my request is too vague please do request for more.

Thank you all in advance.

anandraj tadkal
Ranch Hand

Joined: Feb 22, 2011
Posts: 98

It could be that your application might be memory intensive and hence -Xmx1024m might not be sufficient. You can try bumping the value and give it a try.

Also make sure that these memory arguments are picked up, there might be scenarios where the default Xmx value getting picked up. You can verify the same from WebLogic logs.

If you still see the issue, you can explore the below link for further troubleshooting.

http://weblogic-wonders.com/weblogic/2010/07/16/troubleshooting-out-of-memory-errors-in-weblogic-using-eclipse-memory-ananlyser/

Cheers,
Anandraj

Regards,
Anandraj
http://weblogic-wonders.com
Follow us on facebook:
https://www.facebook.com/weblogicwonders
Robinson Francis
Greenhorn

Joined: Aug 16, 2010
Posts: 22
Thank you anandraj. I have solved that problem.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Weblogic Java heap space Error
 
Similar Threads
Tomcat restart problem on production server
getting stuck threads in the application
Exception in thread "domain1-StderrDrainer" java.lang.OutOfMemoryError: Java heap space
startNodeManager.sh and startWeblogic.sh doesn't start to execute
module failed to deploy on weblogic server