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.Arrays.copyOfRange(Arrays.java:3664)
at java.lang.String.(String.java:207)
at java.lang.StringBuilder.toString(StringBuilder.java:407)
at org.apache.commons.io.output.StringBuilderWriter.toString(StringBuilderWriter.java:158)
at org.apache.commons.io.IOUtils.toString(IOUtils.java:779)
at org.xmlcml.html.HtmlFactory.parse(HtmlFactory.java:631)
at org.xmlcml.html.HtmlFactory.parse(HtmlFactory.java:623)
at org.xmlcml.cmine.args.DefaultArgProcessor.getScholarlyHtmlElement(DefaultArgProcessor.java:1187)
at org.xmlcml.cmine.files.CTree.ensureScholarlyHtmlElement(CTree.java:947)
at org.xmlcml.cmine.args.DefaultArgProcessor.extractPSectionElements(DefaultArgProcessor.java:1170)
at org.xmlcml.ami2.plugins.AMIArgProcessor.ensureSectionElements(AMIArgProcessor.java:250)
at org.xmlcml.ami2.plugins.AMIArgProcessor.runRunMethodsOnChosenArgOptions(AMIArgProcessor.java:221)
at org.xmlcml.cmine.args.DefaultArgProcessor.runAndOutput(DefaultArgProcessor.java:1111)
at org.xmlcml.ami2.plugins.regex.RegexPlugin.main(RegexPlugin.java:35)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
2 times, 1 year ago
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
2 times, 5 months ago
12 more bugmates

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