Project

Profile

Help

Feature #1833

closed

Memory issues with byte-code generation

Added by Michael Kay almost 11 years ago. Updated about 10 years ago.

Status:
Closed
Priority:
Normal
Category:
Byte code generation
Sprint/Milestone:
-
Start date:
2013-06-28
Due date:
% Done:

0%

Estimated time:
Legacy ID:
Applies to branch:
Fix Committed on Branch:
Fixed in Maintenance Release:
Platforms:

Description

There can be memory issues with byte-code generation because Class objects go in PermGen space and are never released by garbage collection.

We should ensure that bytecode generation can be enabled/disabled at the level of an individual compilation, not only at configuration level.

We should investigate whether there is any way of generating temporary classes that are amenable to garbage collection.

Perhaps we should also implement some LRU caching of compiled stylesheets within Saxon, rather than leaving it to be done by the application.

Please register to edit this issue

Also available in: Atom PDF