Hi!
I have found the cause of the memory leak. The BridgePhaseRenderImpl did not cleanup the bridgeRequestScopeCache correctly.
Here's the code snippet with my local bugfix of com.liferay.faces.bridge.BridgePhaseRenderImpl::cleanup
1 @Override
2 protected void cleanup() {
3
4 // If required, cause the BridgeRequestScope to go out-of-scope.
5 if ((bridgeContext != null) && !bridgeContext.isBridgeRequestScopePreserved()) {
6 bridgeRequestScopeCache.remove(bridgeRequestScope.getId());
7 }
8
9 super.cleanup();
10 }
Could you please merge the bugfix into the next releases of the portlet bridge?
ciao
Thomas
Please sign in to flag this as inappropriate.