[rules-users] running Test scenarios in Guvnor 5.2.0.CR1 causes a memory leak

Michael Anstis michael.anstis at gmail.com
Fri Sep 30 17:38:15 EDT 2011


You are correct, the decision table model changed between 5.1 and
5.2.0.Final.

You can load 5.1 tables into 5.2.0.Final but the model changed between
pre-release 5.2.0.CR1 and 5.2.0.Final to support CEP functions.

Guvnor uses Drools Expert to run tests and therefore problems in Expert will
affect Guvnor too.

sent on the move

On 30 Sep 2011 22:22, "vadlam" <sreeram.vadlamudi at wellsfargo.com> wrote:
> Hi,
>
> running tests scenarios in Guvnor 5.2.0.Cr1 seems to be causing memory
leak
> eventually.
>
> since the StatefulKnowledgeSession or the related class seems to have
> similar kind of leak in 5.2.0.Cr1, could it be that the same issue is
> causing the leak within Guvnor as well ?
>
> we tried to upgrade to 5.2.1.final version of Guvnor, but when we tried to
> load the assets in the new Guvnor that were previously created in
5.2.0.CR1
> and persisted to a database, we are getting the following errors.
>
> ERROR 29-09 08:25:45,234 (LoggingHelper.java:error:69) Service method
> 'public abstract org.drools.guvnor.client.rpc.RuleAsse
> t
org.drools.guvnor.client.rpc.AssetService.loadRuleAsset(java.lang.String)
> throws com.google.gwt.user.client.rpc.Serializatio
> nException' threw an unexpected exception:
> com.thoughtworks.xstream.mapper.CannotResolveClassException: dtable :
dtable
> com.thoughtworks.xstream.mapper.CannotResolveClassException: dtable :
dtable
> at
>
com.thoughtworks.xstream.mapper.DefaultMapper.realClass(DefaultMapper.java:68)
> at
>
com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
> at
>
com.thoughtworks.xstream.mapper.DynamicProxyMapper.realClass(DynamicProxyMapper.java:71)
> at
>
com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
> at
>
com.thoughtworks.xstream.mapper.PackageAliasingMapper.realClass(PackageAliasingMapper.java:88)
> at
>
com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
>
>
>
> Isee that some of the decision table classes have changed as per the
> following lines of code ?
>
> //Post 5.2 model
> xt.alias( "decision-table52",
> GuidedDecisionTable52.class );
>
>
>
> --
> View this message in context:
http://drools.46999.n3.nabble.com/running-Test-scenarios-in-Guvnor-5-2-0-CR1-causes-a-memory-leak-tp3383712p3383712.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20110930/b00109aa/attachment.html 


More information about the rules-users mailing list