aspose file tools*
The moose likes Java in General and the fly likes Source of Out Of Memory error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Source of Out Of Memory error" Watch "Source of Out Of Memory error" New topic
Author

Source of Out Of Memory error

Dilip kumar
Ranch Hand

Joined: Oct 16, 2000
Posts: 360
Hi All -

I'm getting OutOfMemoryError as soon as I call the method on some other system via web service. I'm wondering how to find out if is the issue on my system or the other system. Really appreciate any suggestions. Thanks much

Entries in log file :
Calling InsertRecords method via web service
Out of memory error null

[ January 12, 2006: Message edited by: Dilip kumar ]
[ January 12, 2006: Message edited by: Dilip kumar ]
Mike Noel
Ranch Hand

Joined: Dec 15, 2005
Posts: 108
A stack trace might help. It appears that the OOM exception is coming from your JVM since you're catching an OOM itself rather than a SOAP exception that has a message "OutOfMemory".

_M_


Mike Noel
Dilip kumar
Ranch Hand

Joined: Oct 16, 2000
Posts: 360
Thanks much for the response Mike.

I changed my code to

But I don't see more than
Out of memory error java.lang.OutOfMemoryError
Layne Lund
Ranch Hand

Joined: Dec 06, 2001
Posts: 3061
What does the stack trace say? This should at least indicate which line caused the exception.


Java API Documentation
The Java Tutorial
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Source of Out Of Memory error