Search This Blog

Wednesday, August 10, 2011

Malloc 4G limit problem:


Just discovered that you can malloc only up to 4G even when you're running on a 64-bit system. Try using mmap(MAP_ANON) for synthetic app. Not sure why this is so, need to dig into the kernel code. Later.