Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Adelina Fischer   on Feb 18 In Java Category.

  
Question Answered By: Agatha Miller   on Feb 18

This has happened to me many a time and is hard to pinpoint where it
is coming from.

If you are out of stack space and have 128mb of ram  your hardware is
not the problem.

You probable have some kind of infinite loop in your program (check
all of your for loops and while loops to make sure the variable that
is being incremented is actually eventually going to exit the loop.)
this will cause your computer to stack up so many variables that the
stack space (Which I am informed is quite large) will run out.

Share: 

 

This Question has 2 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on java.lang.OutOfMemoryError Or get search suggestion and latest updates.


Tagged: