I am using the java wrapper of OpenCV. I tried to write an Iterator over frames of a film. My problem is that the iterator is a huge memory leak. Here is a very simplified v
System.gc(); doesn't work for me.
I have add the line:
System.runFinalization();
A Codesnippet:
startGC--; if (startGC==0) { System.gc(); System.runFinalization(); startGC=100; }