We are using the newer JRAP mzXML parsing code in a servlet for a web based application and had a problem with running out of file handles for the process. Servlet container is always running so closing of open file handles was not occurring.
Looked in the MSXMLParser code and noticed that fileIN = new FileInputStream(fileName); was being called but the fileIN was never closed. This occurs for each call to rapHeader(int scanNumber) so the file open count would add up quickly. The same is true for XMLStreamReader xmlSR where it is not being closed either. I ended up adding close in MSXMLParser, ScanAndHeaderParser, MLScanAndHeaderParser, and FileHeaderParser. It is a fairly easy code fix so I thought I would be easier to let a current developer know who can easily make the fix and check back in. Thanks Scooter -- You received this message because you are subscribed to the Google Groups "spctools-discuss" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/spctools-discuss?hl=en.
