Hallo, it's like in hell here, since i cant found what is wrong. Does anybody know, why is the size of this program in memory 4k larger every cca 30 calls? below is the code i suspect (by eliminating) that causes this increasing. char jobid[256]; sprintf(jobid,"%ld",header->GetJobID()); if (!gDirectory->cd(jobid)) { //when this is done it increases memory gDirectory->mkdir(jobid);//<-i look angry at this gDirectory->cd(jobid); cout<<"Directory "<<jobid<<" created!"<<endl; } Thanks for previous help! -- ------------------------------------------ Egon Pavlica e-mail:egon.pavlica@p-ng.si Laboratory for epitaxy and nanostructures Nova Gorica Polytechnic (www.p-ng.si) tel.+386-5-3315-332 ------------------------------------------
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:57 MET