Comment #18 on issue 2473 by [email protected]: http://www.chaostoperfection.com/ crashes in V8 initialization on 64-bit platforms
http://code.google.com/p/v8/issues/detail?id=2473
Instead of reserving 512M virtual memory for each context, how about reserving 2G memory when the V8 starts up and allocating all the code objects from this 2G address space?
An alternative solution is using MAP_32BIT flag, from mmap manual, "MAP_32BIT: Put the mapping into the first 2 Gigabytes of the process address space. This flag is only supported on x86-64, for 64-bit programs.", I have verified this flag, we could only get near 1G memory reserved under 2G though.
-- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
