bad-alloc
Operator new and bad_alloc on linux
On Linux, malloc doesn\'t necessarily return a null pointer if you\'re out of memory.You might get back a pointer and then have the OOM ki开发者_开发问答ller start eating processes if you\'re really o[详细]
2022-12-09 12:21 分类:问答Out of memory (?) problem on Win32 (vs. Linux)
I have the following problem: A program run on a windows machine (32bit, 3.1Gb memory, both VC++2008 and mingw compiled code) fails with a bad_alloc exception thrown (after allocating around 1.2Gb;[详细]
2022-12-09 02:56 分类:问答