Re: Re: Doubts from leaks...
Stefano Corsi <[email protected]> Fri, 2 May 2003 15:13:18 +0000
| Newsgroups | gmane.comp.lang.moto.devel |
|---|---|
| Organization | Moto Project |
| Message-ID | <[email protected]> |
> > track down allocated memory, without the need to free it. But then, i= n > > a big > > nested loop, the use of a lot of moto_strdup created lots of problems= =2E > > So I'm > > unsure, now... > > The shared heap memory allocated by moto_strdup gets recorded in an > mpool which doesn't get freed until the end of page execution. Uhm. I wonder if we could implement a counter in motoi_for, to free the p= ool=20 every nth call...=20 Stefano