texmacs-dev
[Top][All Lists]
Advanced

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

Re: [Texmacs-dev] memory leak


From: Gubinelli Massimiliano
Subject: Re: [Texmacs-dev] memory leak
Date: Thu, 18 Dec 2008 23:06:04 +0100


On Dec 18, 2008, at 10:50 PM, Joris van der Hoeven wrote:

On Thu, Dec 18, 2008 at 08:10:30PM +0100, Massimiliano Gubinelli wrote:
I will give a look at this.

You managed to progress? --Joris



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.

max


On 18 déc. 08, at 18:13, Joris van der Hoeven <address@hidden>
wrote:

On Thu, Dec 18, 2008 at 05:23:20PM +0100, Joris van der Hoeven wrote:
I found the source of the error. Unfortunately, its correction also
involved the correction of some other bugs. In particular, I had to
detach the renderer_rep from window_rep. This was needed anyway for
the Cairo port. I am doing some final checks and will commit
the corrected version.

Unfortunately, there still seems to be a memory leak in the Qt part.
I cleaned the code for fast memory allocation and re-provided
the --disable-fastalloc option. Scrolling down and up does no longer
lead to increase in memory consumptions for the X11 version,
either with or without fast allocation. There remains a problem
with the Qt version.

Best wishes, Joris


_______________________________________________
Texmacs-dev mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/texmacs-dev


_______________________________________________
Texmacs-dev mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/texmacs-dev


_______________________________________________
Texmacs-dev mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/texmacs-dev





reply via email to

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