This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Servlets and the fly likes How to fix java.lang.OutOfMemoryError? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "How to fix java.lang.OutOfMemoryError?" Watch "How to fix java.lang.OutOfMemoryError?" New topic

How to fix java.lang.OutOfMemoryError?

Shankar Ganesh
Ranch Hand

Joined: Oct 01, 2000
Posts: 34
I'm getting the below error in my JSP resulting in a short message as "500: NO DETAILED MESSAGE". Could someone please tell how this can be fixed... Thanks in advance.

[This message has been edited by Shankar Ganesh (edited February 08, 2001).]
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 12761
I think it is extremely likely that your CharArrayWriter got stuck in a loop, filled the largest char[] array it could create, and then tried to write more.
Find that loop and fix it.
author of:
Shankar Ganesh
Ranch Hand

Joined: Oct 01, 2000
Posts: 34
Thanks Bill... It is now fixed.
- Shankar.
It is sorta covered in the JavaRanch Style Guide.
subject: How to fix java.lang.OutOfMemoryError?
Similar Threads
New - Exception.
an error I cannot figure out
java.lang.OutOfMemoryError error.
OutOfMemoryError ??
OutOfMemory problem in WAS3.5.6