MMAP makes machine swap a lot #383
Labels
bug
Something isn't working
operating system
OS related issue, that may require intrinsic knowledge of low level OS stuff
On
Windows
, memory mapped file occasionally makes a computer swap a lot and makes Paprika behave terribly ppor. With a lot of memory committed, when the size of the mmaped region breaches the space on system disk, it starts to stall. Investigate this behavior and provide a way to fix it. This happens in a scenario of an import where mmaped file is used without any write or flushes andFlushViewOfAFile
is called only at the end to be followed byFlushFileBuffers
. Still, according to my understanding system should flush what is needed on it's own so that the swap is not affected.The text was updated successfully, but these errors were encountered: