[ROOT] memory leak in X

From: Damir Buskulic (buskulic@lapp.in2p3.fr)
Date: Thu Mar 15 2001 - 14:00:41 MET


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 ?

Cheers

Damir

-- 
=====================================================================
| Damir Buskulic                  | Universite de Savoie/LAPP       |
|                                 | Chemin de Bellevue, B.P. 110    |
| Tel : +33 (0)450091600          | F-74941 Annecy-le-Vieux Cedex   |
| e-mail: buskulic@lapp.in2p3.fr  | FRANCE                          |
=====================================================================
mailto:buskulic@lapp.in2p3.fr



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:39 MET