httpd-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Malo>
Subject Re: [PATCH] build.xml
Date Tue, 24 Sep 2002 16:03:06 GMT
* Joshua Slive wrote:

>> - Because of reasons I really don't understand the processor
>> otherwise 
>>   runs out of memory (!?).
> I'll commit this, but I'm note entirely happy.  It seems like things
> might be getting a little complex and fragile.  We may need to spend
> some time simplifying and optimizing.

I've looked around a little bit and found a faa (frequently answered
answer ;-) at the xalan pages: 


I guess all our caching problems aren't caused by ant rather than
Xalan-J. First I tried to simplify the loops. (rebuilt them to work
iterative instead of recursive, using a xalan extension
xalan:nodeset()). Didn't help. Splitted the loops and tried to turn off
caching with the PI given in the faq above - didn't help. piplining and
incremental processing aren't the way to do, I think. 

My last trial was to increase the jvm hep size, that worked, but can't
be the final solution, I guess ;-( I inserted in build2.cmd:

%JAVA_HOME%\bin\java -Xmx128m -mx128m

64 seems to be the default value.

> One thing we could do -- at least for the index pages -- is to change
> the xml file to directly include the page-specific stylesheet and have
> that stylesheet get what it needs from common.xsl with an include.
> (Right now we have the reverse; every page includes common.xsl which
> in turn includes the specific stylesheets.)  It seems to be a waste
> for every page to need to process every stylesheet.

yep. but this will help only a little bit, I guess.

I think, when we separate the pages, which use document(...), so that
they are processed each for itself, we have a long working solution.
                   (correct English? :)

my @japh = (sub{q~Just~},sub{q~Another~},sub{q~Perl~},sub{q~Hacker~});
my $japh = q[sub japh { }]; print join       #########################
 [ $japh =~ /{(.)}/] -> [0] => map $_ -> ()  #            André Malo #
=> @japh;                                    # #

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message