-------- Original Message --------
Subject: [ROOT] memory leak in X
Date: Thu, 15 Mar 2001 14:00:41 +0100
From: Damir Buskulic <buskulic@lapp.in2p3.fr>
Organization: lapp
To: roottalk@pcroot.cern.ch
>Hi all,
>Some time ago, there was a thread about a memory leak in XFree86
>(XCopyArea). As A. Zvyagin pointed out, running
> root [0] TCanvas *c = new TCanvas("c","c",100,100);
> root [1] while(1) c->Update();
>consumes memory.
>I have the same behaviour on Alpha/OSF1. Did somebody already noticed it
>?
>This may become a big problem, since an online program displaying
>varying plots cannot be run more than a few hours without restarting (in
>my case, the average leak is a 5-10 MB per hour).
>How do people overcome this problem ?
I don't have a solution for the problem, and I didn't follow the
previous discussion.
But I experienced similar problems under windows (Visual Studio), where
the program grows
from several canves updates.
This seems to lead to a programme crash after something like 4-5 updates.
Another thing I saw was a quite "stable" programme crash, when I tried
to fit spectra.
I implemented a loop which looks for the minuit "CONVERGED" reports.
When the fit doesn't
converge and is repeated, the programme crashes when Minuit finds a
convergence minimum.
Cheers
Wolfgang Geithner
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:39 MET