Hi Ryan,

When I tested the application with large documents, Application
is raising java.lang.OutOfMemoryError. When I analyse your
source code, I have identified that you are using StringBuffer.
Performance wise  using of StringBuffer is worth ful but
considering memory issue I think this is a serious issue.

Why because When I had done a test run on StringBuffer memory
Performance, after reaching the size to 13786405 bytes, JVM
raised an exception though i have lot of free physical memory
because I am using 256 MB RAM .I think this RAM is enough to
parse the 15 MB document but it is not doing that. Any ideas to
improve the performance of application in this scenario.

Thanks,
sudhakar



=====
"No one can earn a million dollars honestly."- William Jennings Bryan (1860-1925) 

"Make everything as simple as possible, but not simpler."- Albert Einstein (1879-1955)

"It is dangerous to be sincere unless you are also stupid."- George Bernard Shaw 
(1856-1950)

__________________________________
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway 
http://promotions.yahoo.com/design_giveaway/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to