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 poi-dev by Gump [HEAD] :-(, 1 year ago
via poi-dev by Gump [HEAD] :-(, 1 year ago
via poi-dev by Gump [HEAD] :-(, 1 year ago
via poi-dev by Gump [HEAD] :-(, 1 year ago
java.lang.OutOfMemoryError: Java heap space
at org.apache.xmlbeans.impl.store.Locale$ScrubBuffer.(Locale.java:1892)
at org.apache.xmlbeans.impl.store.Locale.getScrubBuffer(Locale.java:1911)
at org.apache.xmlbeans.impl.store.Xobj.getValueAsString(Xobj.java:1223)
at org.apache.xmlbeans.impl.store.Xobj.fetch_text(Xobj.java:1814)
at org.apache.xmlbeans.impl.values.XmlObjectBase.get_wscanon_text(XmlObjectBase.java:1377)
at org.apache.xmlbeans.impl.values.XmlObjectBase.check_dated(XmlObjectBase.java:1314)
at org.apache.poi.xssf.usermodel.helpers.ColumnHelper.cloneCol(ColumnHelper.java:164)
at org.apache.poi.xssf.usermodel.helpers.ColumnHelper.cleanColumns(ColumnHelper.java:62)
at org.apache.poi.xssf.usermodel.helpers.ColumnHelper.(ColumnHelper.java:49)
at org.apache.poi.xssf.usermodel.XSSFSheet.read(XSSFSheet.java:202)
at org.apache.poi.xssf.usermodel.XSSFSheet.onDocumentRead(XSSFSheet.java:188)
at org.apache.poi.xssf.usermodel.XSSFWorkbook.parseSheet(XSSFWorkbook.java:415)
at org.apache.poi.POIXMLDocument.load(POIXMLDocument.java:177)
at org.apache.poi.xssf.usermodel.XSSFWorkbook.(XSSFWorkbook.java:277)
at org.apache.poi.xssf.XSSFTestDataSamples.openSampleWorkbook(XSSFTestDataSamples.java:59)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:52)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:274)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
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.