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

Re: memory debugging and C++ (program keeps crashing)



On Thu, 2002-10-03 at 13:59, Jochen Voss wrote:

> The real memory allocation is delayed until the
> memory is actually used.  So a program allocating but not using
> 2 gigs of memory would just run fine.

Nope, because the _address space_ is created on malloc (or, actually,
brk), and you don't have 2GB of free address space to play around with
on a 32-bit machine, with a normal kernel.

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: