I've got a memory leak in this program somewhere. Its a pocket pc app and when I exit it depending on how long its been running memory is just gone and does not come back until a restart of the device. If anyone here is familiar with VB .NET take a look at this and see Code: Private Sub PlotValue(ByVal old_y As Integer, ByVal new_y As Integer) ' Make the Bitmap and Graphics objects. Dim wid As Integer = picGraph.ClientSize.Width Dim hgt As Integer = picGraph.ClientSize.Height Dim bm As New Bitmap(wid, hgt) Dim gr As Graphics = Graphics.FromImage(bm) ' Move the old data one pixel to the left. gr.DrawImage(picGraph.Image, -1, 0) 'Scaling old_y = hgt - (hgt * (old_y / 1023)) new_y = hgt - (hgt * (new_y / 1023)) Label6.Text = old_y Label7.Text = new_y ' Erase the right edge and draw guide lines. gr.DrawLine(New Pen(Color.White), wid - 1, 0, wid - 1, hgt - 1) For i As Integer = 0 To hgt Step yStep gr.DrawLine(New Pen(Color.Black), wid - 2, i, wid - 1, i) Next i ' Plot a new pixel. gr.DrawLine(New Pen(Color.Red), wid - 2, old_y, wid - 1, new_y) ' Display the result. picGraph.Image = bm picGraph.Refresh() gr.Dispose() End Sub This gets called everytime I receive a new data value which is pretty continuous. I'm not sure why its killing the memory so bad my guess would be the New Bitmap everytime and its not properly disposing of those.