Does 500MB sound excessive for a 12MB XML file though?  Perhaps I should just upgrade to Axis2.  I hope it works with Java 1.4.2.


Adrian



On 11/6/06, Davanum Srinivas <[EMAIL PROTECTED]> wrote:
1.4 uses SAX, but ends up holding a lot of stuff in memory. this was
one of the main reasons we rearchitected everything and came up with
Axis2...

-- dims

On 11/6/06, Adrian Parker < [EMAIL PROTECTED]> wrote:
> Hello,
>
> I'm using Axis 1.4.  When I retrieve a 12MB XML file, the Virtual machine
> uses more than 500MB (and less than 700).  This sounds a little extreme.
> Are there known issues with 1.4?  If I set the -Xmxn flag to much less than
> 600 an exception is thrown with no message.  When I use -Xmx600m it runs
> fine though.
>
> Also, Axis seems to use a JAX parser for its SOAP calls, I think, but I read
> on Apache's site that it uses SAX.  Which does 1.4 use?
>
>
>
>
> --
> Adrian Parker
> Simulation Software Developer
> DLCSPM 4-4-3 (c)
> Building A31, CFB Kingston
>
> Tel: (613) 541-5010 x3020
> CSN:  271-3020
> Email: [EMAIL PROTECTED]


--
Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers)

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
Adrian Parker
Simulation Software Developer
DLCSPM 4-4-3 (c)
Building A31, CFB Kingston

Tel: (613) 541-5010 x3020
CSN:  271-3020
Email: [EMAIL PROTECTED]

Reply via email to