Spectrum OneClick running out of memory and creating a large hprof file

Document ID : KB000008155
Last Modified Date : 14/02/2018
Show Technical Document Details
Issue:

Spectrum OneClick running out of memory and creating a large hprof file

 

Dumping heap to java_pid863.hprof ...
Heap dump file created [9537250183 bytes in 53.282 secs]
Exception in thread "Thread-44" java.lang.OutOfMemoryError: GC overhead limit exceeded
Exception in thread "http-bio-8443-exec-45" Exception in thread "Timer-8" java.lang.OutOfMemoryError: GC overhead limit exceeded
java.lang.OutOfMemoryError: GC overhead limit exceeded
Exception in thread "http-bio-8443-exec-34" Exception in thread "http-bio-8443-exec-32" java.lang.OutOfMemoryError: GC overhead limit exceeded
java.lang.OutOfMemoryError: GC overhead limit exceeded
Exception in thread "Timer-1" java.lang.OutOfMemoryError: GC overhead limit exceeded
at java.lang.StringCoding$StringDecoder.decode(StringCoding.java:149)
at java.lang.StringCoding.decode(StringCoding.java:193)
at java.lang.String.(String.java:426)
at java.lang.String.(String.java:491)
at java.io.UnixFileSystem.list(Native Method)
at java.io.File.list(File.java:1122)
at java.io.File.listFiles(File.java:1207)
at org.apache.axis2.deployment.RepositoryListener.findServicesInDirectory(RepositoryListener.java:337)
at org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:252)
at org.apache.axis2.deployment.RepositoryListener.startListener(RepositoryListener.java:371)
at org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(SchedulerTask.java:73)
at org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask.java:94)
at org.apache.axis2.deployment.scheduler.Scheduler$SchedulerTimerTask.run(Scheduler.java:93)
at java.util.TimerThread.mainLoop(Timer.java:555)

Cause:

OneClick is going OutOfMemory while reading a large $SPECROOT/OCLogs/client.log file

Resolution:

As a work around, you can shutdown OneClick and remove the existing $SPECROOT/OCLogs/client.log file.

This issue is addressed in the 10.02.01.PTF_10.2.152 patch for Spectrum 10.02.01. The following is in the release note for the 10.02.01.PTF_10.2.152 patch:

Symptom:The OC Webserver is going OutOfMemory while reading the client.log file when its size is very huge ~300MB or above.

Resolution: The OC Webserver will handle the reading of large client.log files as this solution has the optimized client.log file purging based on number of days and max entries logic in place.

Please contact CA Spectrum support for a copy of the 10.02.01.PTF_10.2.152 patch.

This issue is also scheduled to be addressed in Spectrum 10.02.02.