kadorek / aforge

Automatically exported from code.google.com/p/aforge
Other
0 stars 0 forks source link

Hi, I am running two webcams (tried different brands) to capture images for processing. At different times of continuous running my application stops receiving new frames for a few minutes until what looks like the GC fires then works for one memory ramp of working operation then the memory flat lines and I stop getting new frames again. #325

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Running continuously for a few hours.
2. Starting and stopping application quickly reproduces the problem in that one 
then both cameras fail to provide new frames. Only unplugging and plugging back 
in the usb cameras fixes the problem.  
3.

What is the expected output? What do you see instead?
No new frames come in for a few minutes then it looks like GC fires, then at 
the top of the next memory ramp no new frames come in. 

What version of the product are you using?
2.2.4

Please provide any additional information below.
After testing many situations like win7 x64 x86 other computers including not 
processing any new frames I am at loss. Attached are some code excerpts 

Original issue reported on code.google.com by c...@bbctechnologies.com on 7 Dec 2012 at 4:50

Attachments:

GoogleCodeExporter commented 8 years ago
It is a bug in your code - you never dispose images you cloned for picure boxes.

Original comment by andrew.k...@gmail.com on 7 Dec 2012 at 9:10