java ee - Out of memory error in drools -


i using drools5.5 , creating knowledge bases required drls , decision tables execute rules. in that., when try load decision table(which xls has 20,000 lines) in knowledgebuilder getting out of memory exception.i have used following piece of code

knowledgebuilder knowbuilder = knowledgebuilderfactory.newknowledgebuilder(); knowbuilder.add(resourcefactory.newfileresource(filelocation),resourcetype.determineresourcetype(filelocation)); 

when execute this., getting java heap space error , permgen space error. there other way load large sized rulefiles in drools efficiently.

the question how big xls file in memory , how many objects being created? inserting facts session? heap size?


Comments

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -