Oops.. Calloc failures when running on Win2003 with 4GB ram.
So do I need to set the boot.ini flag and link with the /LARGEADDRESSAWARE
option or is one or the other sufficient?
Also, Got any links or info on Application Memory Tuning?
thanks!
ScottM
So I need to set the OS to boot with the /3GB switch and link with the
> Oops.. Calloc failures when running on Win2003 with 4GB ram.
I'm not sure what you mean - are you saying that you're seeing failures from
calloc with large memory? If so, that's certainly a bug - all of the
parameters to calloc are pointers or size_t, which is unsigned.
> So do I need to set the boot.ini flag and link with the /LARGEADDRESSAWARE
> option or is one or the other sufficient?
You have to use both the boot.ini flag and the linker option to actually get
access to >2Gb address space. If you're not doing that, then this probably
isn't your problem.
> Also, Got any links or info on Application Memory Tuning?
Nothing jumps to mind - maybe someone else will have a nice collection of
links.
-cd