From: <Hul...@em...> - 2008-01-31 19:09:19
|
I would like to know whether I can detect when my application can not allocate more memory when it calls malloc() or some such memory allocation function. This condition typically happens when the System (on which my application is run) is running out of memory. Can Valgrind tool detect such a condition of insufficient memory? (If so, I guess I need to link my application with Valgrind library, correct?) I searched FAQ section, but did not find answer to this type of question. Thanks. |