xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
- From: Dave Pawson <dave.pawson AT gmail.com>
- To: XOM API for Processing XML with Java <xom-interest AT lists.ibiblio.org>
- Subject: Re: [XOM-interest] Billion Laughs
- Date: Sat, 3 May 2014 11:23:48 +0100
On 3 May 2014 10:42, Elliotte Rusty Harold <elharo AT ibiblio.org> wrote:
> Two more ideas:
>
> 1. Should the default limit be based somehow on available memory? and if so
> what? e.g. XX% of the heap size?
> 2. Is it plausible to simply catch an OutOfMemoryError in the Builder and
> clean up, or would the system be hosed enough at that point, that cleanup
> isn't reliable?
I'll leave 2 up to you, I have no idea how degraded the system is
when the out of memory error is raised.
Pareto? you raise the error at 80% of heap size, with clear error?
HTH
--
Dave Pawson
XSLT XSL-FO FAQ.
Docbook FAQ.
http://www.dpawson.co.uk
-
[XOM-interest] Billion Laughs,
Elliotte Rusty Harold, 05/02/2014
-
Re: [XOM-interest] Billion Laughs,
Dave Pawson, 05/03/2014
-
Re: [XOM-interest] Billion Laughs,
Elliotte Rusty Harold, 05/03/2014
-
Re: [XOM-interest] Billion Laughs,
Dave Pawson, 05/03/2014
- Re: [XOM-interest] Billion Laughs, Peter Murray-Rust, 05/03/2014
- Re: [XOM-interest] Billion Laughs, Timo Boehme, 05/05/2014
-
Re: [XOM-interest] Billion Laughs,
Dave Pawson, 05/03/2014
-
Re: [XOM-interest] Billion Laughs,
Elliotte Rusty Harold, 05/03/2014
-
Re: [XOM-interest] Billion Laughs,
Dave Pawson, 05/03/2014
Archive powered by MHonArc 2.6.24.