Re: Get "java.lang.OutOfMemoryError" when Parsing an XML useing DOM
- From: Andreas Leitgeb <avl@xxxxxxxxxxxxxxxxxxxxxxxx>
- Date: 27 Mar 2007 07:15:43 GMT
NeoGeoSNK <ny1022@xxxxxxxxx> wrote:
I can't wait any more time, the job is take nearly 2 hours but haven'tOut of curiosity: You wrote that you're using a
finished yet.I think I'll try the SAX api, is there more fast api to
parsing XML in java?
self-written xml-parser... any chance that you
accidentally created an endless loop?
You should add progress indicators, by inserting
System.out.println("..."), Even if this doesn't
make the code faster, it might give you an indication
on what really goes on(or wrong). (perhaps, after 2
hours it is still busy processing the first sub-item
of the input)
.
- Follow-Ups:
- References:
- Get "java.lang.OutOfMemoryError" when Parsing an XML useing DOM
- From: NeoGeoSNK
- Re: Get "java.lang.OutOfMemoryError" when Parsing an XML useing DOM
- From: Mike Schilling
- Re: Get "java.lang.OutOfMemoryError" when Parsing an XML useing DOM
- From: NeoGeoSNK
- Re: Get "java.lang.OutOfMemoryError" when Parsing an XML useing DOM
- From: Andrew Thompson
- Re: Get "java.lang.OutOfMemoryError" when Parsing an XML useing DOM
- From: NeoGeoSNK
- Get "java.lang.OutOfMemoryError" when Parsing an XML useing DOM
- Prev by Date: Re: Yet another OO question...
- Next by Date: Re: anonymous class
- Previous by thread: Re: Get "java.lang.OutOfMemoryError" when Parsing an XML useing DOM
- Next by thread: Re: Get "java.lang.OutOfMemoryError" when Parsing an XML useing DOM
- Index(es):