• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Al Hobbs
  • salvin francis

Weblogic Java heap space Error

 
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.

 
Ranch Hand
Posts: 98
Oracle Redhat
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Robinson Francis
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you anandraj. I have solved that problem.
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi , How ddíd you resolve this issue .
on our Admin server it is given as following

if [ "${SERVER_NAME}" = "AdminServer" ] ; then
   CUSTOM_JAVA_PARAMS="-Xms2048m -Xmx2048m -XX:PermSize=1024m -XX:MaxPermSize=1024m -Xss512k -XX:+UseG1GC -XX:MaxGCPauseMillis=500 -XX:SoftRefLRUPolicyMSPerMB=100 -XX:+ParallelRefProcEnabled -XX:+TieredCompilation -Dsun.reflect.inflationThreshold=10000 -XX:InitialCodeCacheSize=128m -XX:ReservedCodeCacheSize=256m -XX:+UseCodeCacheFlushing -XX:StringTableSize=3027 -XX:+PrintStringTableStatistics -Djava.io.tmpdir=${DOMAIN_HOME}/TEMP -Dweblogic.security.SSL.minimumProtocolVersion=TLSv1.2"
fi
if [ "${
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic