Hi, I'm tring to hunt down a memory leak in an app we have made with root Gui classes. I see from the web site that gObjectTable->Print() can be used in cint to watch which objects are being newed and not deleted, but how can I call this in a stand alone app? Just gObjectTable->Print(); doesnt work as it doesnt know what gObectTable is?(I have TROOT at the start of my app) I also tried to use a library I wrote for c++ which overrides the global new/delete new[]/delete[] operators. However, roots own memory managment seems to conflict with this (namely TStorage). In the online docs it says to "Set the compile option R__NOSTATS to de-activate all memory checking and statistics gathering in the system. " Does this mean compile my app with -DR__NOSTATS or recompile root with setenv R__NOSTATS? And will this force root to use the normal new/delete operators? Cheers.. Caius _______________________ CAIUS HOWCROFT 01223 711 788 UK(home) 07977 473 937 UK(mobile) 01223 766 300 UK(Office)
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:51 MET