help-gplusplus
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

C++ Memory allocation


From: group . JQ
Subject: C++ Memory allocation
Date: 27 Feb 2007 16:07:31 -0800
User-agent: G2/1.0

Hello:

     I was told that when we allocate the memory (new) at first time
in c++, the c++ library will allocate a big block of memory. Later on,
when we allocate more memory, the c++ library just allocates them from
that big block of memory instead of getting from the operating system.
I wonder if it is possible to specify the size of this memory block?

Thanks a lot.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]