Is IBM's Lotus DOM-based? It sure sounds like it. My only suggestion (if you have optimized the creation and deletion of the XML objects) is to use a SAX-based parser instead. I havn't done much XML parsing but I just know that the cons with DOM-based parsers are that they demand a lot of memory. But that your servlet crashed sounds pretty strange because it should just get slower and slower as the need of swapping increases.
But, a tip, use SAX instead of DOM if you can't spare A LOT of memory. Hope this helps! Markus Kirsten On Thursday, January 31, 2002, at 05:59 PM, Ouyang, Jian wrote: > Hi, > > I am using IBM lotusxsl.jar to parse the xml data into html with xsl > stylesheet. When the number of users increases, the memory used > increases > rapidly. And soon the servlet crashes. I am quite sure it is the > processor > class which causes the problem. Any body has had such an issue? > Any suggestions? Thanks a lot. > > Jian > > ___________________________________________________________________________ > To unsubscribe, send email to [EMAIL PROTECTED] and include in the > body > of the message "signoff SERVLET-INTEREST". > > Archives: http://archives.java.sun.com/archives/servlet-interest.html > Resources: http://java.sun.com/products/servlet/external-resources.html > LISTSERV Help: http://www.lsoft.com/manuals/user/user.html > ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
