Announcement Announcement Module
Collapse
No announcement yet.
AbstractXslView Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • AbstractXslView

    I have been using the AbstractXslView in an application and have noticed that memory usage can go quite high.

    My application uses the same xsl template for most of the views, with different xml input or parameters for each view. I have tracked the memory usage down to the XslTemplate being cached by each of the views seperately.

    Looking at the code for the AbstractXslView I can not see an obvious way to get the views to use the same Templates instance. Am I missing something?

    If not, I may implement a Templates Cache which would check if the xsl template has already been loaded. This could be keyed on the stylesheetLocation. Has anyone come up against a similar problem, is this a good way to go?
Working...
X