S
Surendra Singhi
Hi,
I am using Java on a windows xp machine. Recently while writing a
program which takes large amount of memory I ran into this runtime
error. And it is giving me nightmares, as I have a very important
deadline to meet.
The program takes large amount of memory so I tried increasing the heap
size and set the following options for the vm
-verbosegc -ms128m -mx128m
Also, at one or two places I am explicitly calling gc, to help free up
some memory. The time the program will take to execute is not a concern
as long as it runs smoothly.
Attached is a part of the trace of the gc run and the run time error.
How to fix this bug? And is it memory allocation which is causing it?
Any help on this will be heartily appreciated.
Thanks in advance.
--
Surendra Singhi
www.public.asu.edu/~sksinghi/
[GC 14246K->6146K(130112K), 0.0047735 secs]
[GC 14273K->6473K(130112K), 0.0017715 secs]
[Full GC 9045K->6183K(130112K), 0.0460307 secs]
[GC 14310K->6221K(130112K), 0.0022045 secs]
[GC 14349K->6206K(130112K), 0.0014379 secs]
[GC 14333K->6222K(130112K), 0.0006643 secs]
[GC 14350K->6206K(130112K), 0.0005355 secs]
[GC 14334K->6209K(130112K), 0.0005559 secs]
[GC 14337K->6212K(130112K), 0.0006160 secs]
[GC 14339K->6215K(130112K), 0.0019924 secs]
[GC 14343K->6218K(130112K), 0.0006233 secs]
[GC 14346K->6232K(130112K), 0.0021648 secs]
[GC 14360K->6229K(130112K), 0.0007012 secs]
[Full GC 6988K->6229K(130112K), 0.0446780 secs]
#
# HotSpot Virtual Machine Error, Internal Error
# Please report this error at
# http://java.sun.com/cgi-bin/bugreport.cgi
#
# Java VM: Java HotSpot(TM) Client VM (1.4.2_06-b03 mixed mode)
#
# Error ID: 43113F2652414D452D41503F491418160E435050005C
#
# Problematic Thread: prio=5 tid=0x0035f020 nid=0x358 runnable
#
Heap at VM Abort:
Heap
def new generation total 9088K, used 2794K [0x10010000, 0x109e0000,
0x109e0000)
eden space 8128K, 34% used [0x10010000, 0x102cab28, 0x10800000)
from space 960K, 0% used [0x10800000, 0x10800000, 0x108f0000)
to space 960K, 0% used [0x108f0000, 0x108f0000, 0x109e0000)
tenured generation total 121024K, used 6229K [0x109e0000,
0x18010000, 0x18010000)
the space 121024K, 5% used [0x109e0000, 0x10ff5628, 0x10ff5800,
0x18010000)
compacting perm gen total 4096K, used 2159K [0x18010000, 0x18410000,
0x1c010000)
the space 4096K, 52% used [0x18010000, 0x1822bcc8, 0x1822be00,
0x18410000)
I am using Java on a windows xp machine. Recently while writing a
program which takes large amount of memory I ran into this runtime
error. And it is giving me nightmares, as I have a very important
deadline to meet.
The program takes large amount of memory so I tried increasing the heap
size and set the following options for the vm
-verbosegc -ms128m -mx128m
Also, at one or two places I am explicitly calling gc, to help free up
some memory. The time the program will take to execute is not a concern
as long as it runs smoothly.
Attached is a part of the trace of the gc run and the run time error.
How to fix this bug? And is it memory allocation which is causing it?
Any help on this will be heartily appreciated.
Thanks in advance.
--
Surendra Singhi
www.public.asu.edu/~sksinghi/
[GC 14246K->6146K(130112K), 0.0047735 secs]
[GC 14273K->6473K(130112K), 0.0017715 secs]
[Full GC 9045K->6183K(130112K), 0.0460307 secs]
[GC 14310K->6221K(130112K), 0.0022045 secs]
[GC 14349K->6206K(130112K), 0.0014379 secs]
[GC 14333K->6222K(130112K), 0.0006643 secs]
[GC 14350K->6206K(130112K), 0.0005355 secs]
[GC 14334K->6209K(130112K), 0.0005559 secs]
[GC 14337K->6212K(130112K), 0.0006160 secs]
[GC 14339K->6215K(130112K), 0.0019924 secs]
[GC 14343K->6218K(130112K), 0.0006233 secs]
[GC 14346K->6232K(130112K), 0.0021648 secs]
[GC 14360K->6229K(130112K), 0.0007012 secs]
[Full GC 6988K->6229K(130112K), 0.0446780 secs]
#
# HotSpot Virtual Machine Error, Internal Error
# Please report this error at
# http://java.sun.com/cgi-bin/bugreport.cgi
#
# Java VM: Java HotSpot(TM) Client VM (1.4.2_06-b03 mixed mode)
#
# Error ID: 43113F2652414D452D41503F491418160E435050005C
#
# Problematic Thread: prio=5 tid=0x0035f020 nid=0x358 runnable
#
Heap at VM Abort:
Heap
def new generation total 9088K, used 2794K [0x10010000, 0x109e0000,
0x109e0000)
eden space 8128K, 34% used [0x10010000, 0x102cab28, 0x10800000)
from space 960K, 0% used [0x10800000, 0x10800000, 0x108f0000)
to space 960K, 0% used [0x108f0000, 0x108f0000, 0x109e0000)
tenured generation total 121024K, used 6229K [0x109e0000,
0x18010000, 0x18010000)
the space 121024K, 5% used [0x109e0000, 0x10ff5628, 0x10ff5800,
0x18010000)
compacting perm gen total 4096K, used 2159K [0x18010000, 0x18410000,
0x1c010000)
the space 4096K, 52% used [0x18010000, 0x1822bcc8, 0x1822be00,
0x18410000)