Memory eating

From: Laurent Aphecetche (Laurent.Aphecetche@subatech.in2p3.fr)
Date: Fri Jun 25 1999 - 14:31:14 MEST


Oups. 
In my previous mail, the loop should be 400 item and not 10 :

{
  gROOT->Reset() ;
  TCanvas* c1 = new TCanvas("c1","c1",500,500) ;
  TPad* tmp ;
  Int_t i ;
  char name[80];

  for (i=0;i<400;i++) {
    sprintf(name,"pad%d",i) ;
    tmp = new TPad(name,name,0.1,0.1,0.9,0.9) ;
    tmp->Draw() ;
  }
}
-- 
APHECETCHE Laurent (mailto:aphecetc@in2p3.fr) | TAPS/PHENIX/ALICE
SUBATECH-Ecole des Mines de Nantes-4 rue Alfred Kastler-44070 NANTES
cedex 03
TEL (+33/0) 2 51 85 84 17 - FAX (+33/0) 2 51 85 84 24
WWW: http://www-subatech.in2p3.fr/~photons



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:34 MET