Re: memory leaks

jon klein <[email protected]>
Newsgroups gmane.comp.breve
Message-ID <[email protected]>
On Jan 23, 2004, at 2:54 AM, Rick Giuly wrote:

> I have a pretty big program with memory leaks all over; it eats about 
> a meg
> every 4 seconds. Does breve have any tools for getting rid of the 
> leaks,
> maybe some debugging output? What's the best way to go about finding 
> leaks?
> (I mean leaks that are my fault, unfreed Objects.)

A quick way to debug this type of problem is by using "all" to get all 
the
objects of a certain type.

n (int).

n = all myAgents.

print "$n myAgents allocated".

- jon klein

_______________________________________________
breve mailing list
[email protected]
http://www.spiderland.org/mailman/listinfo/breve
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.