Search found 3 matches

by Cybil74
Thu Apr 23, 2009 8:39 am
Forum: Using .NET Memory Profiler
Topic: System.Drawing.Image.Dispose() issue
Replies: 1
Views: 6612

System.Drawing.Image.Dispose() issue

Hi, while using the following environment: .NET Memory Profiler 3.1 with Dispose Tracker activated Visual Studio 2005 .NET Framework 2.0 and executing the following code snippet: try { Image image = this.imageList1.Images[0]; image.Dispose(); } catch { // Do whatever you want here to record the fact...
by Cybil74
Wed Apr 22, 2009 11:39 am
Forum: Known Memory Issues
Topic: ResourceManager.GetObject() problem
Replies: 3
Views: 18397

ResourceManager.GetObject() problem

Hi, considering the following environment: .NET Memory Profiler 3.1 with Dispose Tracker activated Visual Studio 2005 .NET Framework 2.0 and the following C# code snippet: Bitmap bitmap = (Bitmap)resourceManager.GetObject("MyBitmapName", cultureInfo); I'm rather confused as if the returned bitmap sh...
by Cybil74
Wed Apr 22, 2009 8:50 am
Forum: Known Memory Issues
Topic: System.Drawing.Image.Dispose() issue
Replies: 1
Views: 11381

System.Drawing.Image.Dispose() issue

Hi, while using the following environment: .NET Memory Profiler 3.1 with Dispose Tracker activated Visual Studio 2005 .NET Framework 2.0 and executing the following code snippet: try { Image image = this.imageList1.Images[0]; image.Dispose(); } catch { // Do whatever you want here to record the fact...