9 Replies Latest reply on Oct 17, 2013 8:25 AM by paddys

    OSB "Import Resources" causing OutMemoryError

    Oriol R.


      We have a pre-production Oracle Service Bus with an intensive amount of development activity - a lot of deployments and testing.

      For deployment we use System Administration > Import Resources , and upload a JAR from Eclipse workspace.

      The thing is that after 20-30 deployments, the logs start to show Warnings of Low Memory, and a few later Errors like this:


      <Error> <Coherence> <ServerIP> <AdminServer> <Logger@9224544> <<anonymous>> <> <8fd372558151a6bf:-603adfc9:13fcc77a2a9:-8000-0000000000000003> <1376996209228> <BEA-000000> <Oracle Coherence (member=1): 
      java.lang.OutOfMemoryError: getNewTla
        at java.util.HashMap.newKeyIterator(HashMap.java:1024)
        at java.util.HashMap$KeySet.iterator(HashMap.java:1062)
        at java.util.HashSet.iterator(HashSet.java:153)
        at sun.nio.ch.SelectorImpl.processDeregisterQueue(SelectorImpl.java:127)
        at sun.nio.ch.EPollSelectorImpl.doSelect(EPollSelectorImpl.java:69)
        at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:69)
        at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:80)
        at com.tangosol.coherence.component.net.TcpRing.select(TcpRing.CDB:11)
        at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.ClusterService.onWait(ClusterService.CDB:6)
        at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:39)
        at java.lang.Thread.run(Thread.java:662)

      After that, there is no other solution than rebooting the whole WLS and OSB, because even the consoles are not accessible.


      Is there some way to check memory levels, JVM heap occupation, or to prevent this problem from appearing?


      Thanks in advance!