Search:

Type: Posts; User: aueddonline

Search: Search took 0.10 seconds.

  1. Replies
    5
    Views
    5,251

    Re: heap size vs heap used

    does the 'used heap' only include referenced objects? or is this where non-referenced objects are before a garbage collection?

    Noted.

    atm - at the moment

    Thanks for the information. My...
  2. Replies
    5
    Views
    5,251

    Re: heap size vs heap used

    would GC lower the heap size or the amount of heap used?

    my program is running atm

    heap size: 3.8GB
    heap max: 8GB
    used heap: 350MB
  3. Replies
    5
    Views
    5,251

    Re: heap size vs heap used

    I found these two bits of text, I think i'll try System.gc() at each iteration of the bigger loops for starters

    "In addition to freeing unreferenced objects, a garbage collector may also combat...
  4. Replies
    5
    Views
    5,251

    heap size vs heap used

    I'm getting a java.lang.outofmemoryerror: java heap space exception.

    I downloaded VisualVM to try and monitor.

    It seems the heap size increases but never decreases, however the heap that's used...
Results 1 to 4 of 4