ava.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

ava.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOf(Arrays.java:2760)
at java.util.Arrays.copyOf(Arrays.java:2734)
at java.util.ArrayList.ensureCapacity(ArrayList.java:167)
at java.util.ArrayList.add(ArrayList.java:351)
at org.amnesia.plugins.unification.java.BasicJavaUnification.generageUnificationOptions(BasicJavaUnification.java:338)
at org.amnesia.plugins.unification.java.BasicJavaUnification.findUnifications(BasicJavaUnification.java:97)
at org.amnesia.plugins.search.SearchManagerSwing.computeUnifications(SearchManagerSwing.java:1239)
at org.amnesia.plugins.search.SearchManagerSwing.processResults(SearchManagerSwing.java:908)
at org.amnesia.plugins.search.SearchManagerSwing.access$900(SearchManagerSwing.java:80)
at org.amnesia.plugins.search.SearchManagerSwing$ExecuteQueryTask.executeAsync(SearchManagerSwing.java:416)
at org.amnesia.plugins.search.SearchManagerSwing$ExecuteQueryTask.run(SearchManagerSwing.java:366)
at java.lang.Thread.run(Thread.java:619)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

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