----- Original Message -----
From: "Brian Ewins" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 03, 2003 09:48
Subject: Re: Out of Memory problem


> Steve Loughran wrote:
> > send it as an attachment. That works for files that size. base64
encoding is
> > very slow as well as being inefficient; XML parsers dont like strings
that
> > size.
>
> Are we sure it's the XML parser thats at fault here? I'm a little
> interested in this one, as some of the stuff we do does the base64 thang
> (for historical reasons - its not our service at the other end). This
> isn't the first time I've seen people complain about OOME's with Axis,
> but there's no way you should OOM base64 transforming an 8Mb file -
> gzipped or not. The previous report, IIRC, was for a 2Mb string, not
> encoded. While these practices arent ideal, it makes me wonder if there
> is a bug that needs looking at.

I dont know where the problem is, and if you can find it, great.

But I dont think 'we cant base 64 an 8mb file and add it inline' is going to
be a priority on my list.

Reply via email to