javax.management.RuntimeErrorException: java.lang.OutOfMemoryError: Java heap space

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via GitHub by nezda
, 1 year ago
java.lang.OutOfMemoryError: Java heap space
via hivmr.com by Unknown author, 1 year ago
java.lang.OutOfMemoryError: allocLargeObjectOrArray: [B, size 667664
via Oracle Community by 840124, 1 year ago
java.lang.OutOfMemoryError: allocLargeObjectOrArray: [B, size 667664
via GitHub by ysokolovski
, 2 years ago
java.lang.OutOfMemoryError: GC overhead limit exceeded
via Oracle Community by Djay-OC, 1 year ago
javax.management.RuntimeErrorException: java.lang.OutOfMemoryError: Java heap space
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.rethrow(DefaultMBeanServerInterceptor.java:841)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.rethrowMaybeMBeanException(DefaultMBeanServerInterceptor.java:852)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getAttribute(DefaultMBeanServerInterceptor.java:651)
at org.glowroot.agent.util.LazyPlatformMBeanServer.getAttribute(LazyPlatformMBeanServer.java:124)
at org.glowroot.agent.init.GaugeCollector.collectGaugeValues(GaugeCollector.java:197)
at org.glowroot.agent.init.GaugeCollector.collectGaugeValues(GaugeCollector.java:179)
at org.glowroot.agent.init.GaugeCollector.runInternal(GaugeCollector.java:127)
at org.glowroot.agent.shaded.glowroot.common.util.ScheduledRunnable.run(ScheduledRunnable.java:44)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.