no there shouldn't be any specific size limits. How long/complex are your rules?
I remember noticing errors like that when there were certain odd syntax errors in the conditions/consequences (to do with the sax parser and some unescaped characters). Unfortunately I wasn't able to reliably reproduce it (and this was a while ago) but I do remember seeing that error. Does it happen no matter what rules you pull out? (ie perhaps its the same offending rule that you pull out each time). Failing that, if you like and can, send me the ruleset (not sure if I will be able to run it without the all the domain objects etc). Michael. On 3/13/06, Matias Otero <[EMAIL PROTECTED]> wrote: > > I'm currently running 2.1. > > -----Original Message----- > From: Michael Neale [mailto:[EMAIL PROTECTED] > Sent: Monday, 13 March 2006 9:31 AM > To: user@drools.codehaus.org > Subject: Re: [drools-user] Out of Memory Errors > > what version of drools? Can you try both 2.1 and 2.5 as they do fairly > different stuff with loading/building (would be good to narrow it down). > > On 3/10/06, Matias Otero <[EMAIL PROTECTED]> wrote: > > > > Hi, > > > > Is there a limit to how many rules can be in a ruleset for a DRL file? > > > I am getting java.lang.OutOfMemory exceptions when using the > > RuleBaseLoader.loadFromInputStream() method. I have around 450 rules > > all up. When I reduce the number of rules I don't see it anymore. > > > > Cheers, > > Matias. > > > > > > > > >