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


_______________________________________________
Texmacs-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/texmacs-dev

Reply via email to