Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #30618

Re: Out of memory error in SAX parsing with validation

From Sebastian <news@seyweiler.dyndns.org>
Newsgroups comp.lang.java.programmer
Subject Re: Out of memory error in SAX parsing with validation
Date 2014-12-27 15:48 +0100
Organization albasani.net
Message-ID <m7mgsg$9qk$1@news.albasani.net> (permalink)
References <m7i6qs$sch$1@news.albasani.net> <549ca183$0$281$14726298@news.sunsite.dk> <m7je8t$c35$1@news.albasani.net> <549d6859$0$284$14726298@news.sunsite.dk>

Show all headers | View raw


Am 26.12.2014 14:53, schrieb Arne Vajhøj:
> On 12/26/2014 5:45 AM, Sebastian wrote:
>> Am 26.12.2014 00:45, schrieb Arne Vajhøj:
>>> On 12/25/2014 6:32 PM, Sebastian wrote:
>>>> does anyone here know something about the memory requirements for
>>>> validating XML with SAX? I've encountered what I think is a memory leak
>>>> with the Xerces version included in JDK 7 and 8.
[snip]
>
> Maybe time to dust of good old Crimson.
>
> :-)
>
Thank you Arne, for that very helpful response. I've looked at Crimson, 
Aelfred (the GNU version), Resin, and Woodstox, which are all optionally 
validating and available under an Open Source license.

I think my current preference would be Woodstox. Woodstox is still  an 
active project, has an Apache license as opposed to GPL, requires the 
least heap according to your test, and also seems to be the fastest.

Happy New Year,
Sebastian

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Out of memory error in SAX parsing with validation Sebastian <news@seyweiler.dyndns.org> - 2014-12-26 00:32 +0100
  Re: Out of memory error in SAX parsing with validation Arne Vajhøj <arne@vajhoej.dk> - 2014-12-25 18:45 -0500
    Re: Out of memory error in SAX parsing with validation Sebastian <news@seyweiler.dyndns.org> - 2014-12-26 11:45 +0100
      Re: Out of memory error in SAX parsing with validation Arne Vajhøj <arne@vajhoej.dk> - 2014-12-26 08:53 -0500
        Re: Out of memory error in SAX parsing with validation Sebastian <news@seyweiler.dyndns.org> - 2014-12-27 15:48 +0100

csiph-web