[rules-users] Drools 4.02 or 4.03 memory leak?

DELBART Vincent delbart.v at mipih.fr
Mon Jan 7 11:21:11 EST 2008


In 4.0.3, there is a memory leak with the use of WorkingMemoryLogger.
 
Maybe it's that ?
 
PS : http://jira.jboss.com/jira/browse/JBRULES-1325
 

V.


________________________________

De : rules-users-bounces at lists.jboss.org [mailto:rules-users-bounces at lists.jboss.org] De la part de Edson Tirelli
Envoyé : lundi 7 janvier 2008 11:32
À : Rules Users List
Objet : Re: [rules-users] Drools 4.02 or 4.03 memory leak?



   Yes, and also 4.0.2 did had a memory leak that was fixed in 4.0.3, were no leak was detected my profiling tools. So make sure you are using 4.0.3.

   []s
   Edson


2008/1/7, Paul Smith < paul.t.smith at gmail.com>: 

	Also make sure that you are either using Stateless Working Memory or if you are using a Stateful Working Memory then make sure you're dereferencing objects. I had a similar issue and it turned out to be me using Stateful WM when I didn't realy need it and not dereferencing the objects. There are a number of tools around to help to identify memory leaks. JRockit has a pretty good tool for helping to isolate issues. That's how I isolated my issues. 
	
	http://e-docs.bea.com/jrockit/docs142/userguide/memleak.html 
	
	
	
	
	
	On Jan 7, 2008 3:27 PM, Michael Rhoden < mrhoden at franklinamerican.com> wrote:
	

		Try setting your JVM memory higher. Drools tends to use plenty of memory
		as well as perm gen space.
		
		What I use:
		-Xmx512m -XX:MaxPermSize=512m
		
		-----Original Message-----
		From: rules-users-bounces at lists.jboss.org
		[mailto:rules-users-bounces at lists.jboss.org] On Behalf Of heroshaojun 
		Sent: Sunday, January 06, 2008 9:14 PM
		To: rules-users at lists.jboss.org
		Subject: [rules-users] Drools 4.02 or 4.03 memory leak?
		
		When I use profiler to test inserting object to WorkingMemory, outmemory
		always occurs.
		
		Who can help me?
		
		_______________________________________________ 
		rules-users mailing list
		rules-users at lists.jboss.org
		https://lists.jboss.org/mailman/listinfo/rules-users 
		
		
		
		_______________________________________________
		rules-users mailing list
		rules-users at lists.jboss.org 
		https://lists.jboss.org/mailman/listinfo/rules-users
		



	_______________________________________________
	rules-users mailing list
	rules-users at lists.jboss.org 
	https://lists.jboss.org/mailman/listinfo/rules-users
	
	




-- 
  Edson Tirelli
  JBoss Drools Core Development
  Office: +55 11 3529-6000
  Mobile: +55 11 9287-5646
  JBoss, a division of Red Hat @ www.jboss.com 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20080107/98c81457/attachment.html 


More information about the rules-users mailing list