AIX memory leakage

From: Jobst Heinrich Koehne (kohne@mail.desy.de)
Date: Tue Dec 09 1997 - 15:51:56 MET


Dear Rene and Fons,

Starting from the Event example in //root/test
I've written a copy program with an Event object containing some 40
pointers to TClonesArrays corresponding to our BOS banks.

Everything works fine on SGI with g++. However as soon as I went to IBM
AIX I had trouble. I couldn't run with options 

CXXFLAGS = -O -w -qnoro -qnoroconst -qmaxmem=-1 -I$(ROOTSYS)/include

because the EventCint.cxx file (15000 lines) compiling didn't come to an
end (after 5h I gave up).  Only with 

CXXFLAGS = -w -qnoro -qnoroconst -qmaxmem=-1 -I$(ROOTSYS)/include
 
it works at all. But at runtime (with top) one sees the job memory
continuosly increasing and finally it aborts with 

Fatal in <TStorage::ReAlloc>: storage exhausted

This happens in the end phase of the job when the tree->Fill() statements
of every event are already done. So it must be sth with the
hfile->Write().
 
ahoi
Jobst 

The machine:
a dual processor IBM RS6000 with 320 Mb RAM running two 233 MHz PowerPC 
root:
Version   1.03/08   5 December 1997 



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