Results 1 to 2 of 2
  1. #1
    piyu.sha is offline Member
    Join Date
    Oct 2008
    Rep Power

    Red face [SOLVED] Linux commands for Java Developers Help

    Hi Experts on this forum,

    we are trying to do some debugging for OutOfMemory issues we are facing for our J2EE application. Out application is running on Linux platform and we are looking for some commands which can be used to investigate this issue on production environment itself.

    Any help or pointers will be appreciated.

    Music | HTS | Remix
    Live life king size

  2. #2
    Join Date
    Oct 2008
    Rep Power


    Hey, Long time, where have you been lately.

    Java has very powerfull commands for linux os debugging. In fact the JDK 1.5 and later come up with few specific commands for memory and thread analysis

    you can use jmap for getting memroy footprint of a running java process on linux.

    use jstack for taking a thread stack trace of running java project.

    There are few more commands which can be useful, also check out the Powerful Linux Commands

    Let me know more details on the issue you are facing and I will be able to suggest more options for debugging OutOfMemory issues.

    Its a good idea to post information like

    1. how much heap memory you are running the app?
    2. How many users are using it?
    3. How much time it takes to reach outofmemory error. etc...

    Hope this helps....

    Cooking is Fun | Eat Healthy Stay Fit | Sweets | Raita | Bread | Dal| Snacks

Similar Threads

  1. Replies: 6
    Last Post: 04-08-2009, 04:05 AM
  2. Java Robot commands not working
    By CoolLove in forum Java Applets
    Replies: 2
    Last Post: 01-13-2009, 02:58 PM
  3. Java Developers - Jnr/Snr
    By Nursten in forum Jobs Offered
    Replies: 1
    Last Post: 10-17-2008, 11:44 AM
  4. UK - Java Application Developers
    By eSellerPro in forum Jobs Offered
    Replies: 5
    Last Post: 04-29-2008, 11:22 AM
  5. Looking for JAVA Developers...
    By veresov in forum Jobs Offered
    Replies: 1
    Last Post: 11-26-2007, 01:34 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts