Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

SAX parser performance tuning

807589Sep 10 2008 — edited Sep 10 2008
Hi

I am currently in the process of implementing a SAX parser based java module to process large XML files (about 60 MB each) . My module is to replace a Perl program which used to load the entire file into memory and process the file by using regex matches. The Perl implementation is about 3 to 4 times faster than my implementation, therefore not currently satisfied with the performance. I profiled my implementation (using JIP) and it points to the SAX parser as the main bottleneck.

I would like to know if you guys have any performance tuning hints for SAX or any other API that you think might perform better.

Thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 8 2008
Added on Sep 10 2008
2 comments
524 views