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

memory performance issue in java engine

HI Gurus,

i would like to know about the what are performance issues in java stack ?

please help me ...

Thanks

Anki.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

7 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 09, 2012 at 01:56 AM

    Hi Anki,

    check out the following guides:

    1) java performance tuning for beginners : https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b0e0d894-0cc9-2b10-5893-a21fe39c9a2d

    2) fine tune j2ee engine: https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/7fdca26e-0601-0010-369d-b3fc87d3a2d9

    3)WEB Application server performance analysis : https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/66aad990-0201-0010-a296-c582b6e88007

    The follwing web-site contains valuable tips regarding tuning : http://www.javaperformancetuning.com/tips/

    Regards,

    Sravanthi

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Feb 03, 2012 at 04:41 PM

    you need to trigger heap dumps and analyse it with MAT http://www.eclipse.org/mat/

    you can check the time of GCs, the minor GCs should take >1sec, the full GCs should take >10sec

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 09, 2012 at 03:48 PM

    Hi,

    One of the main performance issue is OutOFMemory error and slowness in the response.

    To start with you can fine tune Heap Memory parameters,Garbage collection parameter and add additional server nodes if you have sufficient hardware available.

    You can refer to troubleshooting guides,which are available in plenty

    Regards,

    Ashutosh

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 08, 2012 at 11:10 AM

    Hi Anki,

    Please refer to Java Server Troubleshooting Guide, a very best start to understand different problems and solutions.

    http://wiki.sdn.sap.com/wiki/display/JSTSG/JavaServerTroubleshootingGuide%28JSTSG%29

    Br,

    Venky

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 11, 2012 at 05:54 AM

    Hi Anki,

    Main performance issue that i hve observed in Java stack are slow response,Thread not releasing memory hence causing OutOfMemory situation.

    You can look at tuning heap memory parameters such as -XX:MaxPermSize,-Xmx refer to this link:

    http://help.sap.com/saphelp_nwesrce/helpdata/en/97/d0de42c02c420da92a7cec346f9168/content.htm

    Also check forum:

    REg : Performance tuning of java system which talks about same thing.

    Regards,

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 21, 2012 at 01:15 AM

    Hi,

    to avoid the commum outOffMemmory error, sometimes its needed to perform periodical (daily)

    restars of the java engine, because even if you increase heap size, or add more server nodes, the garbage collector doesnt alllway clean 100% of unused memory, so along the time the memory usage keep going up, until it reachs the maximum heap size of the server node, and causes a server node restart.

    daily "cleansing" restarts are a workaround for this situation.

    best regards,

    Ricardo

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 23, 2012 at 08:55 AM

    Hello Anki,

    You need to analyse your core dump , thread dump in order to identify the root of the problem.

    After knowing the faulty class file name / component you can resolve the issue permanently.

    Restarting will clear the memory but considering SLA it might not get approval from business.

    Regards.

    Sumanta

    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.