Hi,
I'm benchmarking a program atm, and I stumbled across a memory-allocation error. I have 64GB RAM installed and nothing else is running on the system:
Code:
top:
Tasks: 222 total,   1 running, 221 sleeping,   0 stopped,   0 zombie
Cpu(s):  0.0%us,  0.0%sy,  0.0%ni,100.0%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
Mem:     64403M total,     2231M used,    62171M free,        1M buffers
Swap:     2053M total,       26M used,     2027M free,     1498M cached
If I start the program, I can tell it, how much memory it can use in mw, and, reproducible, it prints out following error with 6907mw or more, not with 6906 or less:
Code:
Failure in attempting memory allocation of 6907230002 words (52697 Mbyte)
This error has been generated by the operating system,
and may be the result of insufficient system memory or paging space
I don't really know, how to find the source of the problem. I do not think, that the program uses GBs of memory, more than given to it, but I'd like to check that. Or is there a maximal amount of memory a program can allocate in an instance? I'd be happy about any advice you can give me.