For some reason I am unable to use more than 1 GB of memory.
As the memory usage approaches 1GB my program becomes slower and
slower, then dies with an out of memory error.

A simple test case looks like:

var a = [], i = 0, s = '';
while (true) {
  s = a[i++] = s + i;
}

The system I'm using runs 64-bit Ubuntu with around 3GB of physical
memory free and a ton of swap space available, so there's plenty left
when v8 runs into trouble.

I know about the --max_old_space_size flag; however setting it to
something over 1GB (like 2000000000) doesn't help. Is there anything
(else) I can do?

- Bert

-- 
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users

Reply via email to