Skip to Content
author's profile photo Former Member
Former Member

Problem with Java.lang.outofmemoryerror

hai,

I developed a Webdynpro application whch is using webservices as the models,

If the 4 or 5 users simultaneously using that application the server has been throwing this error

java.lang.OutOfMemoryError.

How can i solve this?

The Server System having the RAM 2GB

Intel 3.2 mhz processor.

if there is any changes in administration can solve my problem.

how much of ram is better for WAs

regards,

Add a comment
10|10000 characters needed characters exceeded

Related questions

4 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on May 09, 2006 at 01:24 PM

    Hi,

    Do check the log file on the server callSdmViaSapinst.log

    If it reads as

    Caught exception during application deployment from SAP J2EE Engine's

    deploy service:

    java.rmi.RemoteException: ERROR : ; nested exception is:

    java.lang.OutOfMemoryError

    Then configure your heap size using sap notes according to your platform

    Regards,

    Vijith

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 09, 2006 at 12:53 PM

    Hi

    It seems that your java heap size is less . you can increase the heap size using offline config tool. please

    have a llok at this forum thread

    j2ee-server-not-started-exitcode--2

    Hope this helps , please mark points for helpful answers

    regards

    rajeshkr

    Message was edited by: Rajesh K. R.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 10, 2006 at 05:15 AM

    hi

    Login in to the offline config tool(c:\usr\sap\J2E\JC00\j2ee\configtool\configtool.bat )

    go to cluster-data>Instance_idXXXX node .

    Change the Bootstrap Java Settings > MAX heap size (in MB)- to 2 or 3 times of current heap size

    Also if needed change the MAX heap size for the other tabs also

    Restart the server with these changes

    hope this helps , please mark points for helpful answers

    regards

    rajesh kr

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 31, 2006 at 02:59 PM

    I am having a similar situation where the Instance is restarting its self periodically daily, and "<b>FATAL: Caught OutOfMemoryError! Node will exit with exit code 666</b>" is being reported from the instance work directory.

    We have adjusted the JVM parameters several time as this server has plenty of RAM, is there anything else that could contribute to this?

    -Thanks

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.