apache/batik — pull request #2 by sgdreamer7 (2013-05-30 10:09:27+00:00)
Title: Change MAX_CACHED_SCRIPTS to prevent loading classes and out of memory error for PermGen Space

...rror for PermGen Space

In svg files with many event handler scripts are compiled if their count exceeds 32 (MAX_CAHCE_SCRIPTS=32). So additional classes org.mozzila.javascript.gen.c will be loaded and during long term application execution repeat of events cause PermGen Space to grow and finally OOME stops execution of app.