xmlgraphics-batik-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 40393] - Too many JSVGComponent on a single page cause OutOfMemory exception
Date Tue, 05 Sep 2006 00:38:20 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40393>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40393





------- Additional Comments From deweese@apache.org  2006-09-05 00:38 -------
(In reply to comment #2)
> Well, i don't have evidence that all the threads lead to OOM error. But, when
> you have 500 components in a scroll pane, it's not a good idea to have 500
> threads running in any case... 

   Isn't it a bad idea to have 500 components in the scroll pane when the
user's going to see, what like 20?  The swing components are designed to
populate the view on demand. I would suggest using this feature.

> What's wrong with a dependency on Apache Excalibur that have 
> thread pool implementation (i'll need to see if it's good
> for this specific scenario - see bug 40394). 

    I don't have a hard rule against dependencies it's
a matter of balencing the provided functionality vs 
the additional synchronization issues it cause everyone 
(users of Batik now need Batik's version of that library
to match the version that other tools may be using just
as an example).

> You already have js.jar, pdf-transcoder.jar, xerces and 
> xml-apis. It's not the first dependency you'd
> introduce.

    The only one above that is a hard dependency is xml-apis
which is kind of required for an XML implementation.
js.jar & pdf-transcoder.jar are only required if you are
using their functionality.  The Xerces dependency is 
configurable (simply requires a SAX 2 interface,
and has recently moved to JAXP).



-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-dev-help@xmlgraphics.apache.org


Mime
View raw message