🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

"Java Heap space"

User: "laurab"
New Altair Community Member
Updated by Jocelyn
Hi,

I am trying to integrate RapidMiner with a Java application.  I have used a W-MultilayerPerceptron which I set up and trained in RapidMiner.  The model file is 31.1MB and when the java application trys to load/apply the model the following occurs:

P Nov 11, 2008 10:27:51 AM: Process:
  Root[1] (Process)
  +- ModelLoader[1] (ModelLoader)
  +- ModelApplier[0] (ModelApplier)
com.rapidminer.operator.UserError: Could not read file 'C:\Documents and Settings\laurab\My Documents\java NN\DemandForecastingNN\mlp model\EF_GeneralV2.mod': Cannot read from XML stream, wrong format: Java heap space.
at com.rapidminer.operator.io.ModelLoader.apply(ModelLoader.java:97)
at com.rapidminer.operator.Operator.apply(Operator.java:656)

The model loads with no problems in RapidMiner. I have increasing the Java heap space  to 1024mb via the command line. The model file is saved as XML Zipped I assume thats the most compressed format already? When I load a smaller model file into the java application then it works with no problems. 

Thanks

Laura

Find more posts tagged with