I've created a custom control that is a level meter (a bar that shows audio levels visually). So this gets refreshed about every 200 milliseconds. I am running into an issue when the app runs for somewhere between 12 - 16 hours one of the 4 meters that are displayed on the screen goes white with the red X through it. A message pops up saying OutOfMemory error. Does anyone have an idea why this would be happening? The system memory is always in normal range when this happens. I also added try catch to everything and if an error was thrown it would write the info in a log. This doesn't happen though.

I first draw this control to a bitmap, then draw the bitmap to the control. I override the onpaint event and use the onpaint eventArg to draw to the control.