[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] RE: Use XQuery or XSLT


Subject: RE: [xsl] RE: Use XQuery or XSLT
From: "Jim Neff" <jneff@xxxxxxxxxxxxxxx>
Date: Fri, 7 Jan 2005 09:23:04 -0500

A bit off topic ...

"I forgot to mention that memory requirements are limited. Even in one GB
system, 300 MB file cannot be processed as the DOM can take as much as 10
times the file size. It would crash the system."

One thing to remember is that memory is cheap now adays.  A gig of PC3200
RAM (suitable for a 3 Ghz processor) starts at about $180.  This may be
cheaper to buy a few gigs of ram than spend a couple days figuring out how
to re-write a difficult stylesheet.  

A quick-and-dirty way is just just to increase your virutual memory
settings.  This would be easy in a Microsoft enviornment and for a *nix
enviornment may require repartitioning of your hard drive or adding a new
one.  This will cause it to run very slow, but run it will (eventually).

Obviously the proper solution would be to refine the stylesheet so it runs
as efficently as possible.  But sometimes the simplicity of brute-force
processing is overlooked ;)

I'm with what the other guy here said, break your processing down into
bite-sized pieces that you can run seperatly.

Good luck,

--Jim 


Current Thread