Only 44 hours left in the trailboss' kickstarter!

New rewards and stretch goals. CLICK HERE!



  • Post Reply Bookmark Topic Watch Topic
  • New Topic

"Timer-10" java.lang.OutOfMemoryError: Java heap space  RSS feed

 
Raj Khanna
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am getting the follwoing java heap space exception in my Code and I have to restart my tomcat server to solve the issue

Please let me know if this is a JDK issue or Tomcat issue or any Database Issue.
Using DB2, jdk1.5

Exception in thread "Timer-10" java.lang.OutOfMemoryError: Java heap space
java.lang.IllegalStateException: Timer already cancelled.
at java.util.Timer.sched(Unknown Source)
at java.util.Timer.schedule(Unknown Source)

Please feel free to contact me.
 
Amit Ghorpade
Bartender
Posts: 2856
10
Fedora Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"cdude dudec " please check your private messages for an important administrative matter. You can check them by clicking the My Private Messages link above.
 
Nilesh Raje
Ranch Hand
Posts: 153
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try increasing the perm space.

Example :

java -XX:PermSize=256M -XX:MaxPermSize=256M



 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!