Issue:
Seeing a lot "Exception in thread thread_name: java.lang.OutOfMemoryError: GC Overhead limit exceeded" on the STE component
Cause:
According to Sun, the error happens "if too much time is being spent in garbage collection: if more than 98% of the total time is spent in garbage collection and less than 2% of the heap is recovered, an OutOfMemoryError will be thrown.".
Solution:
On the STE component
- Navigate to "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\ASWEStreamletEngine\Parameters"
- Determine the highest number or value for all the registry entries named "JVM Option Number x" example: JVM Option Number 18
- Ensure the value in parenthesis for the "JVM Option Count" registry entry is one cardinal number higher than the highest "JVM Option Count" number example 0x00000013(19)
- Now modify the "JVM Option Count" registry entry to the next cardinal number (+1) example: from 0x00000013(19) to 0x00000013(20)
- Create a new "String Value" named "JVM Option Number x" where x is the next cardinal option number example: JVM Option Number 19
- Modify the newly created string and give it a "Decimal" value (under 'Value data') of "-XX:-UseConcMarkSweepGC" (without the quotes)
- Reboot the server or restart all SWS Services
On the Data Access (DA) component
- Navigate to "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\ASWELaunchServ\Parameters"
- Determine the highest number or value for all the registry entries named "JVM Option Number x" example: JVM Option Number 18
- Ensure the value in parenthesis for the "JVM Option Count" registry entry is one cardinal number higher than the highest "JVM Option Count" number example 0x00000013(19)
- Now modify the "JVM Option Count" registry entry to the next cardinal number (+1) example: from 0x00000013(19) to 0x00000013(20)
- Create a new "String Value" named "JVM Option Number x" where x is the next cardinal option number example: JVM Option Number 19
- Modify the newly created string and give it a "Decimal" value (under 'Value data') of "-XX:-UseConcMarkSweepGC" (without the quotes)
- Reboot the server or restart all SWS Services