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

    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
    [Lucene]

  2. #2
    Join Date
    Oct 2008
    Posts
    68
    Rep Power
    0

    Default

    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....


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

Similar Threads

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