Open nmerkle opened 6 years ago
Was this solved? I got a similar problem.
Same problem here. After iterating for few times, I get garbage collection error (GC overhead limit exceeded). There should be a way to reset the memory.
Any solution so far?
Hi, I am using the SWRLAPI inside a simulation framework in order to infer states according to generated triples. In my simulation framework, depending on the iteration size (e.g. 1000 times), I have to call for appropriate times, the infer() method of the SWRLAPIRuleEngine. My method for this, looks like the following code:
So this method is called more than 1000 times. and the program is getting slower and slower until it stands still. Then, after the half of iterations and the according infer() calls I get the following exception:
What could be the reason? I guess that it has something to do with the infer() method call. On other places in my code there are no newly generated objects or unreleased references... So there is no reason to cause memory leaks or to exceed garbage collection limits.
Thanks in advance, nmerkle