Click here to Skip to main content
15,891,607 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
I am parsing a large XML wih DOMParser which throws outofmemory error.
Please suggest the best way to parse that XML.
Note:i do not want to increase memory size by giving -XMX parameter.
Thanks,
Tapas
Posted
Comments
Andrei Straut 24-Sep-12 8:59am    
Just out of curiosity, how large is your XML?

Also, are you parsing it on Android by any chance? (you did not specify whether it was JavaEE, desktop or Android SDK). Also, for alternative XML parsing solutions you might wanna check here[^]
Ashraff Ali Wahab 24-Sep-12 10:47am    
Same question as Andrei,
Size of XML
SE/ME/EE
Available Memory or maximum memory you can allocate

If you are not ready to allocate enough memory for the size of the XML you are operating on ,it is impossible even for the best program to parse.

1 solution

 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900