hi, thx for the reply. the code kinda massive so its hard to put it here. yeah im thinking to do so but im afraid this is not the source of the problem. just to make sure its worth the try. in a very tight schedule right now. i'll try to do static variables and see what happened. but for curiosity, if my code goes beyond what the memory can handle, what happened? does it transfered to disk? which if it is so, then it might be the problem.
thanks in advance ================================= http://www.svnstrk.blogspot.com ________________________________ From: John <[email protected]> To: [email protected] Sent: Wed, March 3, 2010 9:39:09 PM Subject: [c-prog] Re: question about c++ memory allocation --- In c-p...@yahoogroups. com, Jos Timanta Tarigan <jos_t_tarigan@ ...> wrote: > > aim running a program which loops a lot and i use lots of object. it was fast > at the beginning but then it slower later on. im curious if my memory > allocation is the problem. Can you modify the program so that it doesn't allocate any memory - use static memory instead? Just to test whether this is the problem. [Non-text portions of this message have been removed]
