cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From giacomo <giac...@apache.org>
Subject Re: [PATCH] Offline content generation
Date Mon, 18 Jun 2001 19:38:55 GMT
On Mon, 18 Jun 2001, Vadim Gritsenko wrote:

> Hi everybody,
>
> After short investigation of Cocoon's Main.java, I understood that it was not
> intended for field use (looks like experimental code). The two main problems
> are:
>  1. Recursive design (leads to OutOfMemory beacuse every recursive call requires
> stack of local variables, which includes Map),
>  2. Absence of recursive link resolution (leads to infinite recursion).
>
> Attached is the attempt to fix these problems, and some other fixes.
> After applying this patch, offline generator was able to run during hours, and in under
40Mb,
> and the only thing which is stopped it was Win2000 limitation on directory size ;)
>
> One thing however which I'm not sure about is how I created environment:
> I added "user-agent" and "accept" headers with hardcoded values because they are
> required by TraxTransformer (otherwise - numerous NullPointerExceptions). I think
> values should be provided via command line arguments, or should be customizable by
> some other way.
> [ btw - I can implement this - if Giacomo agrees ;) ]

Sure, go ahead :)

Giacomo


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message