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

Solutions on the web

java.lang.OutOfMemoryError: Java heap space
at java.util.concurrent.ConcurrentHashMap$ValuesView.iterator(ConcurrentHashMap.java:4683)
at java.util.AbstractCollection.addAll(AbstractCollection.java:343)
at java.util.TreeSet.addAll(TreeSet.java:312)
at org.apache.catalina.webresources.Cache.backgroundProcess(Cache.java:190)
at org.apache.catalina.webresources.StandardRoot.backgroundProcess(StandardRoot.java:595)
at org.apache.catalina.core.StandardContext.backgroundProcess(StandardContext.java:5627)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1377)
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.

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