Results 1 to 8 of 8
  1. #1
    lardum is offline Member
    Join Date
    Jun 2008
    Posts
    4
    Rep Power
    0

    Default JVM memory usage

    I have 2 questions:

    1. In JCONSOLE the mem usage is 270Mb, committed is 290Mb and Max is 1,5Gb. However the java.exe process in Windows Task manager is using about 500Mb of memory. Anyone have any ideas why?

    2. In the VM Summary page it says:
    Total physical memory:*
    2*097*151 kbytes
    Free physical memory:*
    2*097*151 kbytes

    However i have 4Gb RAM installed in the machine. Anyone have any ideas on this one?

  2. #2
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    19

  3. #3
    lardum is offline Member
    Join Date
    Jun 2008
    Posts
    4
    Rep Power
    0

    Default

    we are developing in Eclipse. But not on this machine.

    This machine is a webserver hosting an application. JDK 1.6 is used.

  4. #4
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    19

  5. #5
    lardum is offline Member
    Join Date
    Jun 2008
    Posts
    4
    Rep Power
    0

    Default

    there is no IDE on this machine.

    The JVM is running an application server (Resin from Caucho) and when it starts up it starts with around 40-50Mb of memory usage.

  6. #6
    Niveditha's Avatar
    Niveditha is offline Senior Member
    Join Date
    May 2008
    Posts
    307
    Rep Power
    7

    Default

    Hi,
    If you think its because of your code, you can try out one more tool called JProbe which gives you memory analysis too.
    To finish sooner, take your own time....
    Nivedithaaaa

  7. #7
    lardum is offline Member
    Join Date
    Jun 2008
    Posts
    4
    Rep Power
    0

    Default

    Im gonna have a look at JProfiler... See if that shows me anything.

  8. #8
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    19

Similar Threads

  1. How to determine CPU usage using Java?????
    By JavaEmpires in forum New To Java
    Replies: 5
    Last Post: 03-16-2011, 04:49 AM
  2. Latest XML parsing and memory usage benchmark
    By Jimmy Zhang in forum XML
    Replies: 0
    Last Post: 03-03-2008, 09:49 PM
  3. Timer usage in java program
    By sandeeprao.techno in forum New To Java
    Replies: 5
    Last Post: 01-24-2008, 07:16 PM
  4. Integer Usage
    By bluegreen7hi in forum New To Java
    Replies: 11
    Last Post: 01-24-2008, 08:54 AM
  5. Comm API Usage
    By hobbyist in forum New To Java
    Replies: 0
    Last Post: 11-16-2007, 04:59 PM

Posting Permissions

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