1
1
I set the size of the virtual memory to be managed by system. While there is ample space on the disk, I ran into the 'out of memory' error, contrary to my assumption that the system should just allocate more virtual memory in this case. So what is Windows automatic virtual memory allocation policy? Also does Windows require the memory used by a single process to be fit into the physical memory even if some threads are idle?
My problems is for Windows x64 in general (if it has to be specific, then it is Win 8.1, 16GB RAM, doing scientific computing).
EDIT: To be more specific, the softwares are MATLAB R2015a (win64) and Gurobi 6.0.5 (win64). Both of them had such errors in different cases. I don't think they have anything to do with 32-bit stuffs. Also I think the error simply means that the memory allocation function (say new or malloc) returns something invalid.
Is the process doing your calculations 32-bit or 64-bit? – misha256 – 2015-09-22T00:46:41.377
Everything is 64-bit – LeOpArD – 2015-09-22T00:48:52.040
Hmm, what kind of scientific application are you using? Does it have a name, version, or if it's something you wrote yourself, what language and compiler are you using? Also, do post a screenshot of the error you're getting, or more detailed error information if you can. We'll get to the bottom of this! ;-) – misha256 – 2015-09-22T01:26:56.230
"Out of memory" could be referring to virtual or physical memory or even swap space (what MS incorrectly labels "virtual memory"). You need to provide more details. See http://superuser.com/questions/748743/what-is-the-difference-between-virtual-memory-and-built-in-memory-ram/748776#748776
– sawdust – 2015-09-22T01:36:25.287@sawdust Indeed. In fact, "out of memory" could mean virtually anything, especially if the error is being thrown by the application rather than the OS. I've seen an application say "Not enough RAM" because it (arbitrarily) couldn't handle more than 99 open files concurrently. That was clearly a limitation of the application, not of the system. And what a misleading error message! – misha256 – 2015-09-22T01:47:01.113