texmacs-dev
[Top][All Lists]
Advanced

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

Re: [Texmacs-dev] memory leak


From: Joris van der Hoeven
Subject: Re: [Texmacs-dev] memory leak
Date: Fri, 19 Dec 2008 09:42:03 +0100
User-agent: Mutt/1.5.9i

On Thu, Dec 18, 2008 at 11:06:04PM +0100, Gubinelli Massimiliano wrote:
> Not yet. According to the debugging tools there is indeed a steady  
> growth of the allocated memory event in idle state (at much lower rate  
> than previously) but I cannot trace it back to the qt code. Apparently  
> the problematic allocations come from the interpose handles  
> (specifically from the call to the function tmg_texmacs_time), are  
> small blocks of 16 bytes which get never released. This does not  
> happens under X11, but I do not still understand why.

Very strange; the routines tmg_texmacs_time () and texmacs_time ()
only perform a system call and allocate no memory. Could it be that
Guile is responsable for the non-released memory? Notice that you
may use Tools -> Test -> Memory information to get some memory statistics,
when using fast allocation. You may also use the scheme command (gc)
to do explicit garbage collection.

When you say that tmg_texmacs_time generates small blocks of 16 bytes
which are not released, can you be more specific and tell which calls
to tm_new or new might be responsible?

Best wishes, Joris




reply via email to

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