Hello, Sawyer > > It seems that somehow I am running out of heap (?). I've rebuilt ROOT with > debug information thanks to your instructions and I see that eventually > the calloc in the new operator call returns 0L when trying to allocate > just 20 bytes! This doesn't make much sense since my machine has plenty of > memory and disk space for a swap file...any help is appreciated. > I have three basic questions (I am begging a pardon if they sound trivial) 1. Did you install ROOT correctly ? To check this one should go to %ROOTSYS%/test to launch "NMAKE" from there. This should produce you a bunch of stand-alone ROOT-based applications and ROOT DLL's. Just run all *.exe's. If you satisfy with the result go to the next question. 2. Did you watch any mark of the memory leak via "Task Manager" or "Performance Monitor" ? You said calloc can not allocate "just 20 bytes" but you did not say how many bytes were allocated in total. 3. You said you create your own DLL. Did it contain any ROOT/Cint dictionary ? If yes, what method do you use to load that DLL ? Hope this helps us to go ahead. Valery
This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:25 MET