|
Author |
Topic: Quicktime Library Memory Leak (Read 611 times) |
|
Stephen
|
Quicktime Library Memory Leak
« on: Jan 21st, 2005, 6:24pm » |
|
The following code... BVideo vid = loadVideo("street.mov"); repeat(vid); ...results in memory leak which doesn't stop even when the applet is closed. This eventually takes so much memory that the computer stop responding. I am currently running a course in which this problem has been struck by almost everyone involved. We are mostly using Windows XP with the latest Quicktime 6.5.2 and processing 68 (69 has the same problem). I have processing installed in the root directory and I have tried both the expert and the normal versions of processing. Help with this problem would be greatly appreciated as we can only use image sequences at the moment in place of the quicktime library. Thanks, Stephen
|
|
|
|
Stephen
|
Re: Quicktime Library Memory Leak
« Reply #1 on: Jan 21st, 2005, 7:31pm » |
|
I have managed to clean up the memory after closing the sketch by adding the following code... public void stop(){ vid.dispose(); // where "vid" is the BVideo valiable in your code. super.stop(); } This does not, however, fix the run-time memory leak. Stephen.
|
|
|
|
|