How SAX can handle 10MB or above XML file?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Aggie_Chan
Posted On:   Sunday, March 24, 2002 11:02 PM

I have writen an application which need to transfer multiple files in an XML file.

The function is work well, but if the file size is larger then 10MB, it always hit a problem (out of stack memory ) in server.

Now my question is how can I transfer a larger file and reduce the memory usage in server? Thanks.

Re: How SAX can handle 10MB or above XML file?

Posted By:   rodney_tgdsoro1  
Posted On:   Sunday, March 24, 2002 11:23 PM

first you could increase the size of the maximum heap size with the java parameter -Xmx default is 64MB. second the thread stack size with -Xss.
With what are you currently working? DOM, JDOM?
About | Sitemap | Contact