ASP.NET : Xsl Compiled Transform
|
|
|
Question / Problem
|
Xsl Compiled Transform - Possible of Memory leak
|
Solution
|
.Net Framework fails to to unload the assembly , It was very helpful to create an instance of Xsl Compiler Transform and Cache the object and request for every request.
Another major issue we fund was creating the instance in debug mode.
Using " new XslCompileTransform(true)" Constructor create the instance in debug mode
Any assembly in Debug mode can Cause heavy memory leak.
" new XslCompileTransform(false)"
After change the constructor parameter to "false" we got some good performance .
|
Applies to |
|
Asp.Net 2.0
,C# 2.0
|
Rank It |
|