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 Coderanch by Abhradeep Banerjee, 1 year ago
via java.net by Unknown author, 2 years ago
via Stack Overflow by Feconiz
, 1 year ago
java.lang.OutOfMemoryError: Java heap space
at java.lang.String.substring(String.java:1939)
at java.util.StringTokenizer.nextToken(StringTokenizer.java:335)
at undefined.lab6Ex1.main(lab6Ex1.java:81)

Users with the same issue

Once, 2 months ago
2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago

Write tip

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