Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
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
-
Number of attachments :
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
Issue Links
Activity
Steve Blackburn
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Assignee | Steve Blackburn [ steveblackburn ] |
David Grove
made changes -
| Fix Version/s | 3.1.0 [ 14620 ] |
Steve Blackburn
made changes -
Steve Blackburn
made changes -
Steve Blackburn
made changes -
Steve Blackburn
made changes -
| Status | Open [ 1 ] | Closed [ 6 ] |
| Resolution | Fixed [ 1 ] |
My guess would be that this indicates that MMTk has broken up the virtual address space such that it is unable to find 200Mb of free contiguous space to satisfy the request.