T
Tilman Bohn
In message <[email protected]>,
jonck wrote on 8 Feb 2005 11:36:16 -0800:
[...]
You need to increase the memory allocation pool. On Sun's VM, this
is achieved by the options Xms and Xmx (initial and max, resp.) on
recent releases. For example:
java -Xms512m -Xmx512m Test
will run ok on my machine with 100000000.
Yeah. The VM is running out of memory. Hence OutOfMemoryError. ;-)
jonck wrote on 8 Feb 2005 11:36:16 -0800:
[...]
For me the number of values in arr[] could go no larger than 14897979,
14897980 gave me an outOfMemoryError. You guys were talking about
having this value at 100000000, a number about 7 times larger, yet you
were (obviously) not getting an OutOfMemoryError.
You need to increase the memory allocation pool. On Sun's VM, this
is achieved by the options Xms and Xmx (initial and max, resp.) on
recent releases. For example:
java -Xms512m -Xmx512m Test
will run ok on my machine with 100000000.
Any ideas what could be causing this for me?
Yeah. The VM is running out of memory. Hence OutOfMemoryError. ;-)