[JBoss JIRA] Created: (JBRULES-1444) Potential "smal" memory leak
by Yves Galante (JIRA)
Potential "smal" memory leak
----------------------------
Key: JBRULES-1444
URL: http://jira.jboss.com/jira/browse/JBRULES-1444
Project: JBoss Drools
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Reteoo
Affects Versions: 4.0.4, FUTURE
Reporter: Yves Galante
Class VariableContextEntry and ReturnValueContextEntry are instantiated when Package.addRule called.
"Package rules" like there class..
"Package => ... => VariableContextEntry
But class have a reference to the InternalWorkingMemory !
"Package => ... => VariableContextEntry => Workingmemory"
When test case is executed "testExemple32", at the end of the execution, WorkingMemory need to be garbage collected, but it isn't because she is referenced by ReturnValueContextEntry and/or VariableContextEntry, and this class keeps an reference to the WorkingMemory.
I think this can be generate an "smal" memory leak.
This memory leak generated is not "infinity", the maximum size of this memory leak is "~ size(WorkingMemory + Facts) x number rules on the rules base".
It is right ?
The membre workingMemory can't be removed from VariableContextEntry/ReturnValueContextEntry ?
I have make a patch with this, all junit test (core, compiler) has been passed.
ps:
The patch remove membre workingMemory.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
18 years, 5 months
[JBoss JIRA] Created: (JBAS-5193) Separate HAPartition deployment from other cluster services
by Brian Stansberry (JIRA)
Separate HAPartition deployment from other cluster services
-----------------------------------------------------------
Key: JBAS-5193
URL: http://jira.jboss.com/jira/browse/JBAS-5193
Project: JBoss Application Server
Issue Type: Task
Security Level: Public (Everyone can see)
Components: Clustering
Reporter: Brian Stansberry
Assigned To: Brian Stansberry
Fix For: JBossAS-5.0.0.Beta4
The current cluster-beans.xml file includes a core service, the HAPartition, and a number of ancillary services (HA-JNDI, HASessionState, HA detached invokers, JGroups-based EJB2 entity cache invalidation). The ancillary services should be deployed separately to help highlight the fact that the core partition need not be packaged with all the ancillary services. Perhaps package HA-JNDI separately from the others as well.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
18 years, 5 months