Project

Profile

Help

Bug #2339

closed

Very high memory usage when compiling xslt

Added by Bob Williams about 9 years ago. Updated about 9 years ago.

Status:
Won't fix
Priority:
High
Category:
.NET API
Sprint/Milestone:
-
Start date:
2015-03-26
Due date:
% Done:

0%

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

Description

Hello:

We noticed RAM spikes over 1 GB when compiling xslt's using the Saxon .Net api. Also, the memory doesn't seem to be able to be reclaimed by our application. This will cause our application to crash after a period of time. It seems to be related to static XPath expression exceptions as shown in the screen shot.

How can we remove this memory footprint from the application?

What in the xslt may be causing this?


Files

XPathCompilationExceptions.png (32.9 KB) XPathCompilationExceptions.png Memory dump of static XPath expressions Bob Williams, 2015-03-26 22:44
nlm23dtd.zip (322 KB) nlm23dtd.zip DTD'S Bob Williams, 2015-03-27 14:58
nlm23xslt.zip (697 KB) nlm23xslt.zip XSLT'S Bob Williams, 2015-03-27 14:58
XslTransformation.cs (20.9 KB) XslTransformation.cs Class used for compiling. it's done in the constructor of the class. Bob Williams, 2015-03-27 15:00

Please register to edit this issue

Also available in: Atom PDF