Hallo.
I'm working on a program that creates & destroys alot of (fairly simple) objects that, by around the 200th iteration, eats all of the system's virtual memory.
I get a M$ message telling me the system is low on virtual memory, and then my program aborts with an unnatural termination.
I've gone over the code w/ a fine tooth comb & cannot see any place where I would have a memory leak - all objects created on the heap are fully accounted for, as far as I can see.
Of course, I could still be missing something, but I wondered if anybody had any ideas as to anything else this could be, as even if I go back to the drawing board, I need to be writing this kind of program (genetic algorithms) for a while, & need to know how to deal with it.
Thanks in advance for any light anyone can shed.
Cheers,
DJL
Common sense is what tells you the world is flat.
I'm working on a program that creates & destroys alot of (fairly simple) objects that, by around the 200th iteration, eats all of the system's virtual memory.
I get a M$ message telling me the system is low on virtual memory, and then my program aborts with an unnatural termination.
I've gone over the code w/ a fine tooth comb & cannot see any place where I would have a memory leak - all objects created on the heap are fully accounted for, as far as I can see.
Of course, I could still be missing something, but I wondered if anybody had any ideas as to anything else this could be, as even if I go back to the drawing board, I need to be writing this kind of program (genetic algorithms) for a while, & need to know how to deal with it.
Thanks in advance for any light anyone can shed.
Cheers,
DJL
Common sense is what tells you the world is flat.