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.