Dear Sebastien,
 
You're probably creating additional objects (in a loop?) with each re-fresh cycle.  Make sure you allow the old objects to be garbage collected by assigning myOldObj = null; when you're done with them.  It's harder then it sounds: these are hard bugs to track down.  Look into Sun's java -verbose mode, it will tell you more about which objects are created.  (see java -?) There are lots of good profilers out there for free so look into those also.
 
Good luck,
 
Greg
-----Original Message-----
From: Sebastien RODRIGUES [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 10, 2003 8:00 AM
To: jdjlist
Subject: [jdjlist] Memory growing alone

Hi,

I have a big problem with my program!

When i started the gui program and let it running alone showing only memory used!

The memory used grow with 31 Ko more each second!

How i can reduce this?

On a perfect word the memry used should be the same if program don't work!

Sorry i'm not on perfect word i'm on windows 2000!

Any idea?

 

Regards

--- You are currently subscribed to jdjlist as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] http://www.sys-con.com/fusetalk
---
You are currently subscribed to jdjlist as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
http://www.sys-con.com/fusetalk

Reply via email to