You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by "Jason D. Lee" <ja...@hobbylobby.com> on 2002/09/06 18:35:42 UTC

Memory Problems

I'm running into memory issues that I don't think I should be seeing.  My
web service has a method that queries our item master and returns the
inventory as an XML document, which happens to be about 5MB.  If I run my
test application, which loads the web service's class locally (as opposed to
making the SOAP call to Axis), everything runs fine.  If I run my web
service test client (which makes the SOAP call to Axis), I get an out of
memory error.  Any thoughts on why that's different, and how I can fix it?
Thanks...

-- 
Jason Lee - Programmer
405.745.1789
Hobby Lobby Stores, Inc.



RE: Memory Problems

Posted by Allegar Robert <al...@bah.com>.
Jason,
	In the one that's failing you have 2 JVMs running. Check the heap size for
the JVM on the server and make sure it's enough to handle what you're trying
to do. Use the -Xms -Xms parameters on the server VM (the one with the
remote Axis running) to set the value higher. If you're sure the exact same
code is working locally and not working remotely, it's likely an
environment/configuration issue.

Regards,
	Rob

-----Original Message-----
From: Jason D. Lee [mailto:jason.lee@hobbylobby.com]
Sent: Friday, September 06, 2002 11:36 AM
To: Axis (E-mail)
Subject: Memory Problems


I'm running into memory issues that I don't think I should be seeing.  My
web service has a method that queries our item master and returns the
inventory as an XML document, which happens to be about 5MB.  If I run my
test application, which loads the web service's class locally (as opposed to
making the SOAP call to Axis), everything runs fine.  If I run my web
service test client (which makes the SOAP call to Axis), I get an out of
memory error.  Any thoughts on why that's different, and how I can fix it?
Thanks...

--
Jason Lee - Programmer
405.745.1789
Hobby Lobby Stores, Inc.