Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Medium
-
Resolution: Fixed
-
Affects Version/s: 3.0.1
-
Fix Version/s: 3.1.0
-
Component/s: MMTk: GenMS
-
Labels:None
-
Environment:
Linux IA32 in host and target with production config (GenMS GC). The machine is a bi xeon with 2GB of RAM with a 32 bit Debian GNU/Linux
Description
When allocating a 200 MB tab, a OOM is thrown. Here is a code which lead to a OOM :
package lip6.jikesrvm.bench;
public class Test
{
public static final int NB_ELEM = 200 * 1024 * 1024 / 4;
private static int[] tab;
public static void main(String args[])
{ tab = new int[NB_ELEM]; }};
The program is run with rvm -cp barrier/bin -Xms1G -Xmx1.5G -X:processors=all lip6.jikesrvm.bench.Test
This perfectly run with sun JVM or with NB_ELEM set at 20 * 1024 * 1024