Igor,

Can you elaborate a bit on your statement?
What happens if the Process is not terminated and the malloc or new is being done in a loop many times? Will it then lead to a memory leak? And does finally terminating the process, return that memory back to the O.S.?
And what kind of behaviour will such a program exhibit in an UNIX system?

Finally, can you provide some links to sites explaining the Memory Organisation in a Windows system.

Thanks,
The Beret.