axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Davanum Srinivas <dava...@gmail.com>
Subject Re: Axis - Out OF Memory problem
Date Mon, 17 Jan 2005 19:21:39 GMT
Peter,

If possible, We'd like a test case with large object graphs to
reproduce the problem...So that we can make sure we can recreate the
problem and fix it as well.

thanks,
dims


On Mon, 17 Jan 2005 10:44:09 -0800, Peter Molettiere
<pietro@axonstudios.net> wrote:
> 
> Not sure what you'd like me to do. The method we're using to deal with
> serializing large graphs of objects through axis is clearly outlined in
> my previous posts. If there's something in particular you'd like us to
> look at, let me know.
> 
> Last night as I was falling asleep I realized I didn't mention another
> possibility, though, so I may as well mention that here, too.
> Basically, if you're having trouble serializing large graphs of
> objects, then you can try re-writing your application to issue many
> small requests where you used to issue a single large request. The most
> common recommendation seen is in response to people trying to serialize
> large result sets. In that case it's pretty easy to send X rows, and
> request the next X rows in another request.
> 
> Our application hasn't been so easily tamed, since we're serializing
> java object graphs, usually trees. We've talked about implementing a
> serialization scheme which would allow us to request any subtree of
> depth N from any given node, which would allow us to fetch our tree
> with a series of separate calls, but we've had a lot of other more
> important tasks, and the heap size and gc tweaks I've already mentioned
> are working well enough for us at the moment.
> 
> The other method we've been considering, since interop isn't much of a
> requirement for us, is to implement a simple XML-RPC mechanism using
> standard XML serialization and plain vanilla HTTP servlets.
> 
> --Peter
> 
> On Jan 15, 2005, at 7:24 AM, Davanum Srinivas wrote:
> 
> > Peter,
> >
> > anyway you can help us tune latest axis cvs?
> >
> > thanks,
> > dims
> >
> >
> > On Fri, 14 Jan 2005 14:04:31 -0800, Peter Molettiere
> > <pietro@axonstudios.net> wrote:
> >>
> >> On Jan 14, 2005, at 1:29 PM, pawan.v.udernani@gsk.com wrote:
> >>> Your mail provides a great deal of information. But, now I feel
> >>> trapped. Thanks anyways.
> >>
> >> /shrug/
> >>
> >> Try these, in this order:
> >>
> >> 0) Use the latest axis distro
> >> 1) Use xerces 2.6.2
> >> 2) Up your heap size:  -Xmx768M -Xms128M -XX:+UseConcMarkSweepGC
> >>
> >> if the above don't work, then
> >>
> >> 3) Write your own SOAP engine.
> >>
> >> That's about the shape of it, I think.
> >>
> >> --
> >> Peter Molettiere
> >> Senior Engineer
> >> Truereq, Inc.
> >> http://www.truereq.com/
> >>
> >>
> >
> >
> > --
> > Davanum Srinivas - http://webservices.apache.org/~dims/
> >
> --
> Peter Molettiere
> Senior Engineer
> Truereq, Inc.
> http://www.truereq.com/
> 
> 


-- 
Davanum Srinivas - http://webservices.apache.org/~dims/

Mime
View raw message