[jboss-jira] [JBoss JIRA] (DROOLS-1014) Drools OOM when loading session

Mario Fusco (JIRA) issues at jboss.org
Tue Dec 22 09:17:00 EST 2015


    [ https://issues.jboss.org/browse/DROOLS-1014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13143642#comment-13143642 ] 

Mario Fusco commented on DROOLS-1014:
-------------------------------------

How big is your heap? Are you sure you're not getting a OOM not for any specific problem, but only because your heap isn't large enough?

Also could you please send a complete reproducer or at least a snippet of code showing what you're doing?

> Drools OOM when loading session
> -------------------------------
>
>                 Key: DROOLS-1014
>                 URL: https://issues.jboss.org/browse/DROOLS-1014
>             Project: Drools
>          Issue Type: Bug
>          Components: core engine
>    Affects Versions: 6.3.0.Final
>         Environment: Mac OS 10.10.5, Eclipse Mars Release, Java 1.8, Drools 6.3.0.Final
>            Reporter: Artur Kronenberg
>            Assignee: Mario Fusco
>            Priority: Critical
>
> I ran into an issue loading the session from my JPA.
> I am getting this stacktrace:
> http://pastebin.com/PMKpdBWM
> This is happening for this rule: 
> http://pastebin.com/HZmLmsEH
> And this module:
> http://pastebin.com/2Q6k73tC
> What I am doing is: 
> 1. Create a new session
> 2. Insert an ApplicationEvent 
> 3. fireAllRules
> 4. Reload -> OOM 
> The ApplicationEvent has a list of 6345 facts in there. I load them from a CSV file, and use drools to insert them into my knowledge base as facts. 
> When I restart my server and have the session reloaded, it ooms when trying to deserialize the session. 
> I am still looking for a workaround. I am not sure what is happening and could not find any more info at this point.
> I am using:
> JPA + Hibernate 4.2.21.Final
> org.codehaus.btm:btm:2.1.4 as a standalone JTA platform 
> Let me know if there's any other info needed.
> Thanks,
> Artur



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list