I need to optimize the speed and memory of my Ruta Process.I've reviewed the following links Uima Ruta Out of Memory issue in spark context and CPU usage too high while running Ruta Script, I've reduced few seconds.Still I need to Optimize the Process. Why i'm asking this because a file which is running in -Xms512M -Xmx8192M Memory Configuration is not running in -Xms512M -Xmx1536M Memory Configuration.Showing Java Heap Space or GC Overhead Limit error.How can I reduce the memory Usage?
Asked
Active
Viewed 133 times
0
-
1I'm using 2.5.0.How disjunctive rule looks in ruta – Sugunalakshmi Pagemajik Jul 21 '17 at 11:52
-
It depedns on where the memory is used up. Did you try to profile it, e.g., with jvisualvm? – Peter Kluegl Jul 24 '17 at 09:49
-
IF you want ot optimize, you should remove all conjunctive and disjunctive rules. – Peter Kluegl Jul 24 '17 at 09:49
-
Are you asking me to remove conjunctive and disjunctive rules or instead of & and | need to use AND and OR . – Sugunalakshmi Pagemajik Jul 26 '17 at 09:58
-
Yes, or to use two rules instead or other refactorings. – Peter Kluegl Jul 27 '17 at 06:58
-
It's hard to answer this question. It's like asking how to optimize a java program. It depends on the actual program (or rules in this case). I would first use the Ruta profiling and then a java profiler to identify the bottelnecks, and then fix or avoid them. – Peter Kluegl Jul 27 '17 at 07:00