swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Memory leak??


From: Fred Wan
Subject: RE: Memory leak??
Date: Thu, 4 Jan 2001 22:17:34 +0100

A memory leak even happens in the SimpleSwarmBug (java version), thus,
without a UI. The simulation runs 200000 cycles in 2m43s, in which the
memory usage increases from 19M to 29M. The files are enclosed. Any
suggestion is welcome. Is someone aware of a (freeware) program to track
memory leaks (which are mainly due to dangling pointers)?

-----Original Message-----
From: address@hidden
[mailto:address@hidden Behalf Of Fred Wan
Sent: Thursday, January 04, 2001 4:43 PM
To: address@hidden
Subject: Memory leak??


Hi,

Currently I (and others) are translating the code in the SimpleBug tutorial
from Objective C to Java. I have SimpleObserverBug running, but I discovered
a disturbing fact. I monitored the memory usage using top (UNIX), and saw
Kaffe (the process associated with the swarm code) grow from 13MB at the
start to about 29 MB after the bugs ate all the food (still increasing
thereafter). I checked jHeatbugs to see if the same thing occurred... and it
did, just not so fast. Does anyone know what may cause this and if this is
(as should not happen in Java) a real memory leak?

Thanks,

Fred Wan,
dept. Artificial Intelligence,
Vrije Universiteit Amsterdam,
The Netherlands.


                  ==================================
   Swarm-Support is for discussion of the technical details of the day
   to day usage of Swarm.  For list administration needs (esp.
   [un]subscribing), please send a message to <address@hidden>
   with "help" in the body of the message.

Attachment: SimpleJavaSwarmBug.zip
Description: Zip compressed data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]