THEODOROS CHAIKALIS created DELTASPIKE-1398:
-----------------------------------------------
Summary: Weblogic memory leak
Key: DELTASPIKE-1398
URL: https://issues.apache.org/jira/browse/DELTASPIKE-1398
Project: DeltaSpike
Issue Type: Bug
Security Level: public (Regular issues)
Components: Core
Affects Versions: 1.8.0
Reporter: THEODOROS CHAIKALIS
Attachments: mleak-1.png, mleak-2-leak.png, mleak-2.png,
mleak-debug1.png, mleak-debug2.png, mleak-debug3.png, server_small.war,
server_small.zip
This extends previously reported issue 1392
Iam returning back to a previously reported serious memory leak in Weblogic
12.2.1-3.
To be more precise: EJB helpler classes (EJBName_randomChars_NoIntfViewImpl)
are not being garbage collected after application removal.
Steps to reproduce:
# deploy the attached war (server-small)
# {{open the webpage at /server-small/views/index.xhtml (mleak2)}}
# monitor the classes created with a profiler (with starting name
gr.teohaik...) (mleak1)
# delete the app
# check again the profiler. The ejbs are still there! (mleak3)
A suggestion in 1392 was to debug BeanManagerProvider, so we did.
{{but bpmSingleton.bminfos contains 2 objects. but method }}
{{cleanupStoredBeanManagerOnShutdown(@Observes BeforeShutdown beforeShutdown)
}}
{{is called only once}}
Attached you can see relevant object contents in the debugger screenshots
--
This message was sent by Atlassian Jira
(v8.3.4#803005)