Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#26 Better Memory Management

closed
nobody
None
5
2012-10-09
2008-12-20
Patawrouks
No

Added a Garbage Collector task to run the gc every 10 s.
With this, I think 128 m is too much for the initial heap space, 64 m may be enough.
Look at the 2 snapshots for comparison.

Discussion

  • Patawrouks
    Patawrouks
    2008-12-20

     
  • Patawrouks
    Patawrouks
    2008-12-20

     
    Attachments
  • Patawrouks
    Patawrouks
    2008-12-20

     
    Attachments
  • TBeckers
    TBeckers
    2009-01-03

    Hi, we think it's not a good idea to call System.gc() every few seconds. The GC is usually smart enough to know by itself when it should start collecting garbage.