Report Bug
lambamanika07
MemberPosts:24Maven
- Exception: java.lang.RuntimeException
- 消息:java.lang.RuntimeException:不能克隆com.rapidminer.example.set.SplittedExampleSet: java.lang.reflect.InvocationTargetException. Target: java.lang.RuntimeException: Cannot clone com.rapidminer.example.set.SimpleExampleSet: java.lang.reflect.InvocationTargetException. Target: java.lang.OutOfMemoryError: Java heap space: failed reallocation of scalar replaced objects. Cause: java.lang.OutOfMemoryError: Java heap space: failed reallocation of scalar replaced objects.. Cause: java.lang.RuntimeException: Cannot clone com.rapidminer.example.set.SimpleExampleSet: java.lang.reflect.InvocationTargetException. Target: java.lang.OutOfMemoryError: Java heap space: failed reallocation of scalar replaced objects. Cause: java.lang.OutOfMemoryError: Java heap space: failed reallocation of scalar replaced objects..
- Stack trace:
- sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
- sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
- sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
- java.lang.reflect.Constructor.newInstance(Constructor.java:423)
- java.util.concurrent.ForkJoinTask.getThrowableException(ForkJoinTask.java:593)
- java.util.concurrent.ForkJoinTask.get(ForkJoinTask.java:1005)
- com.rapidminer.studio.concurrency.internal.AbstractConcurrencyContext.collectResults(AbstractConcurrencyContext.java:206)
- com.rapidminer.studio.concurrency.internal.StudioConcurrencyContext.collectResults(StudioConcurrencyContext.java:33)
- com.rapidminer.studio.concurrency.internal.AbstractConcurrencyContext.call(AbstractConcurrencyContext.java:141)
- com.rapidminer.studio.concurrency.internal.StudioConcurrencyContext.call(StudioConcurrencyContext.java:33)
- com.rapidminer.Process.executeRootInPool(Process.java:1349)
- com.rapidminer.Process.execute(Process.java:1314)
- com.rapidminer.Process.run(Process.java:1291)
- com.rapidminer.Process.run(Process.java:1177)
- com.rapidminer.Process.run(Process.java:1130)
- com.rapidminer.Process.run(Process.java:1125)
- com.rapidminer.Process.run(Process.java:1115)
- com.rapidminer.gui.ProcessThread.run(ProcessThread.java:65)
- Cause
- Exception: java.lang.RuntimeException
- Message: Cannot clone com.rapidminer.example.set.SplittedExampleSet: java.lang.reflect.InvocationTargetException. Target: java.lang.RuntimeException: Cannot clone com.rapidminer.example.set.SimpleExampleSet: java.lang.reflect.InvocationTargetException. Target: java.lang.OutOfMemoryError: Java heap space: failed reallocation of scalar replaced objects. Cause: java.lang.OutOfMemoryError: Java heap space: failed reallocation of scalar replaced objects.. Cause: java.lang.RuntimeException: Cannot clone com.rapidminer.example.set.SimpleExampleSet: java.lang.reflect.InvocationTargetException. Target: java.lang.OutOfMemoryError: Java heap space: failed reallocation of scalar replaced objects. Cause: java.lang.OutOfMemoryError: Java heap space: failed reallocation of scalar replaced objects..
- Stack trace:
- com.rapidminer.example.set.AbstractExampleSet.clone(AbstractExampleSet.java:372)
- com.rapidminer.example.set.AbstractExampleSet.clone(AbstractExampleSet.java:71)
- com.rapidminer.example.set.RemappedExampleSet.create(RemappedExampleSet.java:130)
- com.rapidminer.operator.learner.PredictionModel.apply(PredictionModel.java:113)
- com.rapidminer.operator.ModelApplier.doWork(ModelApplier.java:134)
- com.rapidminer.operator.Operator.execute(Operator.java:1031)
- com.rapidminer.operator.execution.SimpleUnitExecutor.execute(SimpleUnitExecutor.java:77)
- com.rapidminer.operator.ExecutionUnit$2.run(ExecutionUnit.java:812)
- com.rapidminer.operator.ExecutionUnit$2.run(ExecutionUnit.java:807)
- java.security.AccessController.doPrivileged(Native Method)
- com.rapidminer.operator.ExecutionUnit.execute(ExecutionUnit.java:807)
- com.rapidminer.operator.validation.ValidationChain.executeEvaluator(ValidationChain.java:234)
- com.rapidminer.operator.validation.ValidationChain.evaluate(ValidationChain.java:335)
- com.rapidminer.operator.validation.SplitValidationOperator.estimatePerformance(SplitValidationOperator.java:168)
- com.rapidminer.operator.validation.ValidationChain.doWork(ValidationChain.java:285)
- com.rapidminer.operator.Operator.execute(Operator.java:1031)
- com.rapidminer.operator.execution.SimpleUnitExecutor.execute(SimpleUnitExecutor.java:77)
- com.rapidminer.operator.ExecutionUnit$2.run(ExecutionUnit.java:812)
- com.rapidminer.operator.ExecutionUnit$2.run(ExecutionUnit.java:807)
- java.security.AccessController.doPrivileged(Native Method)
- com.rapidminer.operator.ExecutionUnit.execute(ExecutionUnit.java:807)
- com.rapidminer.operator.OperatorChain.doWork(OperatorChain.java:423)
- com.rapidminer.operator.Operator.execute(Operator.java:1031)
- com.rapidminer.Process.executeRoot(Process.java:1372)
- com.rapidminer.Process.lambda$executeRootInPool$5(Process.java:1351)
- com.rapidminer.studio.concurrency.internal.AbstractConcurrencyContext$AdaptedCallable.exec(AbstractConcurrencyContext.java:328)
- java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
- java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
- java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
- java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)
Tagged:
0
Comments
Scott
If this bug is linked to your other thread ("predicting the topic of .txt files"), to help us to debug this error
can you decrease the number of .txt files in each folder. For example, you can keep only 25% of the files in a folder to begin and (re)execute the process.
Regards,
Lionel
I did as you suggested and kept only 25% of the files in each folder but the process stopped in between and following error came.
Note: You are using n-grams and no pruning which is resulting in a crazy number of attributes (660,426 only using topic 0!). This is just not good data science and could easily be causing your computer to blow up metaphorically. I would strongly advise using pruning to bring your attributes down to a reasonable number.
I'll leave this ticket open if you can help me see how to repeat this bug. So far cannot I cannot.
Scott
Thank you so much. At last the process worked! Pruning was the problem. I selected a method as suggested by you!!! Thank you so so muchlionelderkrikorandsgenzer你的时间和帮助! !
sgenzerP.S. I was trying to predict 8 classes as Topic a-h. I guess may be I sent you the process with one class when may be I was trying things out so, you got the wrong idea of me processing only one class!