does anyone know what the maximum amount of memory malloc() can pull is?
i know it fails when i go up to and past a gig. i have 384 megs of system memory and my page file is maxed out at 512 megs.
also, just because im already writing and youre already reading... ^_- when i ask malloc to do its thing for 1 gig, it failed, returning NULL (as it should, i think). but when i asked it to allocate 4 gigs, it actually _passed_, allocating it to god knows where, not returning NULL. and the app crashed after accessing 16k of that memory. so whats up with that?
žÅNžÅ
i know it fails when i go up to and past a gig. i have 384 megs of system memory and my page file is maxed out at 512 megs.
also, just because im already writing and youre already reading... ^_- when i ask malloc to do its thing for 1 gig, it failed, returning NULL (as it should, i think). but when i asked it to allocate 4 gigs, it actually _passed_, allocating it to god knows where, not returning NULL. and the app crashed after accessing 16k of that memory. so whats up with that?
žÅNžÅ