File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Weblogic Java heap space Error" Watch "Weblogic Java heap space Error" New topic

Weblogic Java heap space Error

Robinson Francis

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(
at java.lang.AbstractStringBuilder.expandCapacity(
at java.lang.AbstractStringBuilder.append(
at java.lang.StringBuffer.append(
at org.springframework.beans.factory.BeanCreationException.toString(
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.


Follow us on facebook:
Robinson Francis

Joined: Aug 16, 2010
Posts: 22
Thank you anandraj. I have solved that problem.
I agree. Here's the link:
subject: Weblogic Java heap space Error
It's not a secret anymore!