Workspace Streaming

 View Only

STE crashes due to Java garbage collection 

Feb 23, 2016 03:02 PM

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

  1. Navigate to "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\ASWEStreamletEngine\Parameters"
  2. Determine the highest number or value for all the registry entries named "JVM Option Number x" example: JVM Option Number 18
  3. 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)
  4. Now modify the "JVM Option Count" registry entry to the next cardinal number (+1) example: from 0x00000013(19) to 0x00000013(20)
  5. Create a new "String Value" named "JVM Option Number x" where x is the next cardinal option number example: JVM Option Number 19
  6. Modify the newly created string and give it a "Decimal" value (under 'Value data') of "-XX:-UseConcMarkSweepGC" (without the quotes)
  7. Reboot the server or restart all SWS Services
     

On the Data Access (DA) component

  1. Navigate to "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\ASWELaunchServ\Parameters"
  2. Determine the highest number or value for all the registry entries named "JVM Option Number x" example: JVM Option Number 18
  3. 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)
  4. Now modify the "JVM Option Count" registry entry to the next cardinal number (+1) example: from 0x00000013(19) to 0x00000013(20)
  5. Create a new "String Value" named "JVM Option Number x" where x is the next cardinal option number example: JVM Option Number 19
  6. Modify the newly created string and give it a "Decimal" value (under 'Value data') of "-XX:-UseConcMarkSweepGC" (without the quotes)
  7. Reboot the server or restart all SWS Services

Statistics
0 Favorited
0 Views
0 Files
0 Shares
0 Downloads

Tags and Keywords

Related Entries and Links

No Related Resource entered.