Open Kicer86 opened 3 years ago
Hmm maybe that is happening on windows and is why I never saw any rays when I ran it for a couple of weeks. Any ideas on how to force allocation of physical memory?
In getMemoryBlock should I write to the memory once?
There may be a way of forcing physical memory allocation during getMemoryBlock call (I do not know golang, so cannot help with that), but the simple solution would be to write to the allocated memory at least once.
On Linux, current implementation allocates virtual memory only. As a result only a small fraction of desired block is actually being scanned.
As long as allocated memory is not being written, Linux won't assign physical RAM to it.