JBoss Community

Re: KnowledgeBase keeps links to stateful sessions after disposing

created by Alexander Sydorenko in jBPM - View the full discussion

It won't change anything if you set variable "session" to null because it's visibility scope is limited by for operator. And if you look at screenshot you will see that garbage collecter can't free session memory because KnoledgeBase is referencing those sessions, not Main method.

Reply to this message by going to Community

Start a new discussion in jBPM at Community