You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@poi.apache.org by "Koundinya (Sudhakar Chavali)" <su...@yahoo.com> on 2004/04/03 08:59:38 UTC

Textmining Memory Performance

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: poi-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: poi-user-help@jakarta.apache.org


Re: Textmining Memory Performance

Posted by Ryan Ackley <sa...@cfl.rr.com>.
Send me your document, there may be some other problem. I don't think the
StringBuffer would cause that because text doesn't require that much memory
(3MB of text == about 5 books).

-Ryan

----- Original Message ----- 
From: "Koundinya (Sudhakar Chavali)" <su...@yahoo.com>
To: "POI Users List" <po...@jakarta.apache.org>
Sent: Saturday, April 03, 2004 1:59 AM
Subject: Textmining Memory Performance


> 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: poi-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: poi-user-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: poi-user-help@jakarta.apache.org