Tech Support > Microsoft Windows > Development Resources > help with malloc
help with malloc
Posted by Art on February 1st, 2007


If a program is allocating memory in a loop, how to determine what is
maximum memory allocation limit after which there will be out of
memory eror ?
Is malloc operation is user-mode or kernel-mode?

Thanks in advance!

Posted by Sten Westerback \(MVP SDK\) on February 2nd, 2007



"Art" <artami2006@gmail.com> wrote in message
news:1170353653.977677.35010@s48g2000cws.googlegro ups.com...
having difficulty using your system for some minutes (assuming small
allocations).

memory in bigger chunks using WINAPI which is then distribute any time you
call malloc, calloc, realloc, new or some function that calls any of those.

- Sten




Similar Posts