Results 1 to 2 of 2
  1. #1
    ark
    ark is offline Senior Member
    Join Date
    Apr 2015
    Posts
    288
    Rep Power
    6

    Default profiler not showing decreasing Runtime.getRuntime().freeMemory() allocations

    Why do I get maxMemory - Runtime.getRuntime().maxMemory - about 129 mb (despite my PC Operative Memory is 512 mb), while Runtime.getRuntime().totalMemory()) --show about 9 mb, and freememory - about 8 mb. Why JVM memory is so small in comparing to total PC memory, and what maxMemory means in this case, whick maximum memory?

  2. #2
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    20,003
    Rep Power
    33

    Default Re: profiler not showing decreasing Runtime.getRuntime().freeMemory() allocations

    Moved from 4 year old thread. Please start your own thread
    If you don't understand my response, don't ignore it, ask a question.

Similar Threads

  1. Problem with Runtime.getRuntime.exe()
    By masoumeh in forum New To Java
    Replies: 3
    Last Post: 06-29-2013, 10:01 PM
  2. Runtime.getRuntime().exec() and pppd
    By mysticav in forum Networking
    Replies: 7
    Last Post: 02-15-2011, 07:44 PM
  3. Replies: 9
    Last Post: 01-24-2011, 12:17 PM
  4. Why can I use Runtime.getRuntime() in Eclipse
    By ccie007 in forum New To Java
    Replies: 5
    Last Post: 10-18-2010, 06:48 PM
  5. help with Runtime.getRuntime().exec
    By collin389 in forum AWT / Swing
    Replies: 3
    Last Post: 11-09-2009, 04:22 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
  •