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

via Oracle Community by 843806, 2 months ago
Java heap space
via Stack Overflow by Olaf Stein
, 2 years ago
Java heap space error with bigger number combinations. For example, if I calculate permuations out of 18 numbers I get this exception: Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
at javax.swing.text.GapContent.allocateArray(
at javax.swing.text.GapVector.resize(
at javax.swing.text.GapVector.shiftEnd(
at javax.swing.text.GapContent.shiftEnd(
at javax.swing.text.GapVector.replace(
at javax.swing.text.GapContent.insertString(
at javax.swing.text.AbstractDocument.handleInsertString(
at javax.swing.text.AbstractDocument.insertString(
at javax.swing.text.PlainDocument.insertString(
at javax.swing.JTextArea.append(
at it.bancaditalia.oss.sdmx.helper.HelperHandler.publish(Unknown Source)
at java.util.logging.Logger.log(
at java.util.logging.Logger.doLog(
at java.util.logging.Logger.log(
at java.util.logging.Logger.finer(
at it.bancaditalia.oss.sdmx.parser.v21.CompactDataParser.parse(Unknown Source)
at it.bancaditalia.oss.sdmx.client.RestSdmxClient.getData(Unknown Source)
at it.bancaditalia.oss.sdmx.client.RestSdmxClient.getTimeSeries(Unknown Source)
at it.bancaditalia.oss.sdmx.client.SdmxClientHandler.getSingleTimeSeries(Unknown Source)
at it.bancaditalia.oss.sdmx.client.SdmxClientHandler.getTimeSeries(Unknown Source)
at it.bancaditalia.oss.sdmx.client.SdmxClientHandler.getTimeSeries(Unknown Source)
at it.bancaditalia.oss.sdmx.client.StataClientHandler.getTimeSeries(Unknown Source)

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.