Hi Frederico,

You could try switching on string interning in your saxparser, which may
give you some more headroom.
In your Xpath exprissions are not too complex that you can use the
ContentHandler interface and process the elements as they stream in, and
never build the entire document

Mike

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED]] On Behalf Of 
> [EMAIL PROTECTED]
> Sent: Tuesday 15 October 2002 14:52
> To: [EMAIL PROTECTED]
> Subject: [dom4j-user] Help with XPath and big xml files
> 
> 
> Does anyone can give me any suggestion about this topic?
> The problem is that I've a big xml file (128mb) and I've to 
> finds some Xpath iterating through it. I'm doing it with 
> dom... an it works only on a pc with 1GB of ram! the other 
> says out of memory error. But as I may have to handle also 
> bigger files, I was searching for a better solution. I 
> noticed that j4dom as an handler in SAXReader and I was 
> thinking I may use that in someway... do you have any clue 
> about that?!
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf 
> _______________________________________________
> dom4j-user mailing list
> [EMAIL PROTECTED] 
> https://lists.sourceforge.net/lists/listinfo/d> om4j-user
> 




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
dom4j-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dom4j-user

Reply via email to