jQuery in Action, 3rd edition
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
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: 13002
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.
I agree. Here's the link: http://aspose.com/file-tools
subject: How to fix java.lang.OutOfMemoryError?
jQuery in Action, 3rd edition