Friday 9 January 2004 — This is almost 21 years old. Be careful.
Something to keep in mind: if a program seems to run out of memory, it may not be a memory leak. It may be that you have one gigantic allocation larger than memory.
Friday 9 January 2004 — This is almost 21 years old. Be careful.
Something to keep in mind: if a program seems to run out of memory, it may not be a memory leak. It may be that you have one gigantic allocation larger than memory.
Comments
A solution to this problem is to touch any memory you
allocate, essentially forcing the OS to commit swap space before you return from the allocation call.
Add a comment: