System.OutOfMemoryException: 'Out of memory.' picture box vb code example Example: System.OutOfMemoryException: 'Out of memory.' picture box vb pictureBox.Image.Dispose()