Warning message

This translation is outdated. For the most up-to-date information, please refer to the English version.

VirtualMachineError: out of space in CodeCache

Solution Unverified - Updated -

Issue

  • JBoss が、以下のような例外が発生した直後にクラッシュします。
            java.lang.VirtualMachineError: out of space in CodeCache for adapters
java.rmi.ServerError:Unexpected Error; nested exception is: 
            java.lang.VirtualMachineError: out of space in CodeCache for adapters
            at org.jboss.ejb.plugins.LogInterceptor.handleException(LogInterceptor.java:434)
            at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:209)
            at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:138)
            at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:650)
            at org.jboss.ejb.Container.invoke(Container.java:1092)
            at sun.reflect.GeneratedMethodAccessor1175.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
            at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
            at org.jboss.invocation.local.LocalInvoker$MBeanServerAction.invoke(LocalInvoker.java:169)
            at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:118)
            at org.jboss.invocation.InvokerInterceptor.invokeLocal(InvokerInterceptor.java:260)
            at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:246)
            at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:61)
            at org.jboss.proxy.ejb.SecurityContextInterceptor.invoke(SecurityContextInterceptor.java:64)
            at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:68)
            at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:112)
            at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:101)

Environment

  • JBoss Enterprise Application Platform (EAP)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.