Project

General

Profile

Actions

Bug #2267

closed

SVG - Memory Usage

Added by Matthew Brooke about 19 years ago. Updated almost 19 years ago.

Status:
Resolved
Priority:
Immediate
Category:
interface
Target version:
Start date:
11/11/2005
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
2267

Description

Currently, if Batik has to display more than about 150 SVG icons, it causes a
JVM crash with an OutOfMemoryError. This is also an issue when showing actor
thumbnail icons in the actor library, since these are also rendered using Batik.
So for example doing a search for a very common term that returns many actors
(eg "a") causes an OutOfMemoryError.

Have looked for obvious places to save memory, but now i think we're just
limited by what batik can do. Obvious solution is to start caching icons, since
many of them may be the same, yet they all get rendered from scratch


Related issues

Blocked by Kepler - Bug #2245: TRACKING: Batik SVG Rendering - remaining tasksIn ProgressMatthew Brooke11/04/2005

Actions
Actions #1

Updated by Matthew Brooke about 19 years ago

This is partly exacerbated by the current large size of the actor SVG icons.
After hand-editiing the director icon, and then runnign kepler and cutting and
pasting multiple copies of the director onto the canvas, it will support 316
actors instead of the previous 150.

Thsi bug obviously still needs fixing (still gets OutOfMemoryError doing a
search for a very common term that returns many actors (eg "a")), but adding
this info here for posterity.

Actions #2

Updated by Matthew Brooke almost 19 years ago

OutOfMemoryError doing a
search for a very common term that returns many actors (eg "a")) - this is now
fixed by changes to XMLIcon.java, including selective renderign using vergil vs
batik, and use of raster thumbnails for library icons.

Lareg size of svg icons addressed under separate bug

closing

Actions #3

Updated by Redmine Admin over 11 years ago

Original Bugzilla ID was 2267

Actions

Also available in: Atom PDF