[ 
https://issues.apache.org/jira/browse/SLING-1284?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12799233#action_12799233
 ] 

Carsten Ziegeler commented on SLING-1284:
-----------------------------------------

Hmm if the JspScriptHandlerFactory contains some hack, it doesn't work :)

I disabled the pool with a static final boolean, so this should remove the code 
by the compiler (Ihope)
I don't want to change to much in the jsp code to make an update of the jasper 
code easier

> MemoryLeak: ThreadLocal variable is never cleared
> -------------------------------------------------
>
>                 Key: SLING-1284
>                 URL: https://issues.apache.org/jira/browse/SLING-1284
>             Project: Sling
>          Issue Type: Bug
>    Affects Versions: Scripting JSP 2.0.8
>            Reporter: Carsten Ziegeler
>            Priority: Critical
>             Fix For: Scripting JSP 2.0.10
>
>
> The JspFactoryImpl by default uses a thread local for caching a page context 
> pool. This thread local is never cleared creating a memory leak.
> I think the easiest solution is to disable the pool - don't know if this has 
> a real performance impact

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to