yeah that would be it. I was never able to get to the bottom of it. I thought it was to do with the use of "//" style comments in conditions, but it didn't happen all the time.
I have noticed that some XML parsers let you get away "a little bit" with unescaped characters. Alternaitvely, the antlr parser for the conditions or consquences could cause that error at build time. In terms of something happing after running for a while, that would be a different issue. In 2.1 there was an issue of the fact handle ids not being reset, but this was seen more as a slowdown over a long period of time (if you were creating a lot of working memories, and putting a lot of facts through). On 3/13/06, Matias Otero <[EMAIL PROTECTED]> wrote: > > Yes, I think there is an odd character in the ruleset because I have > another ruleset of similar size and it reads it with no problems. I > remember reading a bug in JIRA about it, gotta dig it up again. > > -----Original Message----- > From: Michael Neale [mailto:[EMAIL PROTECTED] > Sent: Monday, 13 March 2006 10:04 AM > To: [email protected] > Subject: Re: [drools-user] Out of Memory Errors > > 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: [email protected] > > 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. > > > > > > > > > > > > > > >
