File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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: 13036
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:
subject: How to fix java.lang.OutOfMemoryError?
It's not a secret anymore!