Memory mapped files causes low physical memory
Posted
by harik
on Stack Overflow
See other posts from Stack Overflow
or by harik
Published on 2010-05-11T14:18:09Z
Indexed on
2010/05/11
14:24 UTC
Read the original article
Hit count: 471
I have a 2GB RAM and running a memory intensive application and going to low available physical memory state and system is not responding to user actions, like opening any application or menu invocation etc.
How do I trigger or tell the system to swap the memory to pagefile and free physical memory? I'm using Windows XP.
If I run the same application on 4GB RAM machine it is not the case, system response is good. After getting choked of available physical memory system automatically swaps to pagefile and free physical memory, not that bad as 2GB system.
To overcome this problem (on 2GB machine) attempted to use memory mapped files for large dataset which are allocated by application. In this case virtual memory of the application(process) is fine but system cache is high and same problem as above that physical memory is less.
Even though memory mapped file is not mapped to process virtual memory system cache is high. why???!!! :(
Any help is appreciated. Thanks.
© Stack Overflow or respective owner