Coherence Throws java.lang.OutOfMemoryError: Compressed Class Space Error After Moving to Java 8 (Doc ID 2192554.1)

Last updated on DECEMBER 21, 2016

Applies to:

Oracle Coherence - Version 12.2.1.0.1 and later
Information in this document applies to any platform.

Symptoms

On : 12.2.1.0.1 version, Oracle Coherence

After upgrading from Java 7 to 8,  "java.lang.OutOfMemoryError: Compressed class space" error is thrown while loading cache data.

ERROR: [Sep-29 13:53:15,998] Coherence - 2016-09-29 13:53:07.667 Oracle Coherence 12.2.1.0.1 [Error] (thread=Proxy:ExtendProxyServerService, member=1): Detected soft timeout of {WrapperGuardable Guard{Daemon=Proxy:ExtendProxyServerService:TcpAcceptorWorker:1} Service=ProxyService{Name=ExtendProxyServerService, State=(SERVICE_STARTED), Id=4, OldestMemberId=1}}
ERROR: [Sep-29 13:53:18,129] Coherence - 2016-09-29 13:53:18.129 Oracle Coherence 12.2.1.0.1 [Error] (thread=DistributedCache:FXAIP-dist-read-through-service, member=1): Detected soft timeout (12141ms ago) of {WrapperGuardable Guard{Daemon=FXAIP-dist-read-through-serviceWorker:2} Service=PartitionedCache{Name=FXAIP-dist-read-through-service, State=(SERVICE_STARTED), LocalStorage=enabled, PartitionCount=257, BackupCount=1, AssignedPartitions=129, BackupPartitions=128, CoordinatorId=1}}
ERROR: [Sep-29 13:53:26,362] Coherence - 2016-09-29 13:53:22.925 Oracle Coherence 12.2.1.0.1 [Error] (thread=Proxy:ExtendProxyServerService, member=1): Terminating ProxyService due to unhandled exception: java.lang.OutOfMemoryError
ERROR: [Sep-29 13:53:29,821] Coherence - 2016-09-29 13:53:22.925 Oracle Coherence 12.2.1.0.1 [Error] (thread=Proxy:ExtendProxyServerService, member=1):
java.lang.OutOfMemoryError: Compressed class space
WARN : [Sep-29 13:53:35,200] Coherence - 2016-09-29 13:53:33.287 Oracle Coherence 12.2.1.0.1 [Warning] (thread=Proxy:ExtendProxyServerService:TcpAcceptor, member=1): failed to stop 1 worker threads; abandoning
ERROR: [Sep-29 13:53:35,201] Coherence - 2016-09-29 13:53:33.287 Oracle Coherence 12.2.1.0.1 [Error] (thread=Proxy:ExtendProxyServerService:TcpAcceptorWorker:1, member=1): This thread was interrupted while waiting for the results of a request:
Poll
  {
  PollId=71226, active(com.oracle.common.base.SingleWaiterCooperativeNotifier@641cf5d4 unsignaled(null)/0)
  InitTimeMillis=2016-09-29 13:48:31.488
  Service=FXAIP-dist-read-through-service (3)
  Message=GetRequest
  RespondedMemberSet=[]
  LeftMemberSet=[]
  RemainingMemberSet=[1]
  },
ERROR: [Sep-29 13:53:35,203] Coherence - 2016-09-29 13:53:35.197 Oracle Coherence 12.2.1.0.1 [Error] (thread=DistributedCache:FXAIP-dist-read-through-service, member=1): Terminating PartitionedCache due to unhandled exception: java.lang.OutOfMemoryError
ERROR: [Sep-29 13:53:35,203] Coherence - 2016-09-29 13:53:35.197 Oracle Coherence 12.2.1.0.1 [Error] (thread=DistributedCache:FXAIP-dist-read-through-service, member=1):
java.lang.OutOfMemoryError: Compressed class space

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms