I have an application that allocates memory with ‘new’ and frees them with ‘delete’ in some parts of the code.
The problem is that whenever it exceeds the memory limit of the system (let’s say 2GB), Windows sends a Kill signal to the process.
I think it is not usual since it should use the swap space(I think in windows it is called virtual memory), right?
My application is written in C++/Visual Studio.
I have an application that allocates memory with ‘new’ and frees them with ‘delete’
Share
Here is how you can make it up to 3GB for a process; That is the absolute max you can have it for 32 bit windows apps. Any more than that and you are going to need to use a 64 bit version of windows.
That is a lot of memory. maybe you could consider splitting your app into multiple processes and communicating between them.