Hi folks,
In our current system set up with :
OS: Redhat Linux 6.6
DB : Oracle 11G R2
JBoss version 4.2.2 (HTTP connector)
Aveksa : 6.9.1 ,We are always facing memory issues.
Below is the snapshot of the heap memory sizes:
Heap Configuration:
MinHeapFreeRatio = 40
MaxHeapFreeRatio = 70
MaxHeapSize = 4294967296 (4096.0MB)
NewSize = 1310720 (1.25MB)
MaxNewSize = 17592186044415 MB
OldSize = 5439488 (5.1875MB)
NewRatio = 2
SurvivorRatio = 8
PermSize = 21757952 (20.75MB)
MaxPermSize = 536870912 (512.0MB)
G1HeapRegionSize = 0 (0.0MB)
The server crashes frequently and heap dumps get generated, we have also tried to generate .map files to analyze the heap dumps. However, we are not able to find the root cause .
Below is some exception we get in the map file analysis:
Heap Usage:
Exception in thread "main" java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:622)
at sun.tools.jmap.JMap.runTool(JMap.java:196)
at sun.tools.jmap.JMap.main(JMap.java:128)
Caused by: java.lang.RuntimeException: unknown CollectedHeap type : class sun.jvm.hotspot.gc_interface.CollectedHeap
at sun.jvm.hotspot.tools.HeapSummary.run(HeapSummary.java:146)
at sun.jvm.hotspot.tools.Tool.start(Tool.java:221)
at sun.jvm.hotspot.tools.HeapSummary.main(HeapSummary.java:40)
This is hitting us hard as we are preparing for go-live and these frequent server crashes and outofmemory exceptions are bringing the aveksa service down frequently. Workflows are not able to execute successfully .
Any solutions and suggestions are welcome.
Thanks,
Anupama.