15,905,322 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Maurizio1976 (Top 1 by date)
Maurizio1976
21-Mar-13 4:42am
View
thanks you for the answer,
Yesterday i found this program .Net MemProfiler, i tried to lauch the application and see belong what i get after snapshot:
Disposed instances (Show details) (Ignore...)
2 types have instances that have been disposed but not GCed.
Investigate the types below for more information.
System.Drawing.Graphics, WindowsFont
Undisposed instances (release resource) (Show details) (Ignore...)
3 types have instances that have been garbage collected without being properly disposed.
Investigate the types below for more information.
SafePEFileHandle, SafeTokenHandle, WindowsFont
Pinned instances (Show details) (Ignore...)
2 types have instances that are pinned in memory.
Investigate the types below for more information.
System.Object, System.Object[]
Undisposed instances (memory/resource utilization) (Show details) (Ignore...)
3 types have instances that have been garbage collected without being properly disposed.
Investigate the types below for more information.
System.IO.BinaryReader, UnmanagedMemoryStream, WindowsFormsSynchronizationContext
Duplicate instances (Show details) (Ignore...)
37 types have duplicate instances (228 sets, 39.918 duplicated bytes). Duplicate instances can cause unnecessary memory consumption.
Investigate the types below for more information.
ArrayList (6 sets, 14.888 duplicated bytes), System.String (142 sets, 9.848 duplicated bytes), SecurityElement (5 sets, 6.396 duplicated bytes), Hashtable (2 sets, 5.400 duplicated bytes), Hashtable.bucket[] (one set, 4.176 duplicated bytes), Hashtable.SyncHashtable (one set, 2.860 duplicated bytes), System.Object (one set, 1.812 duplicated bytes), ConfigurationValues (one set, 1.632 duplicated bytes), System.String[] (3 sets, 1.340 duplicated bytes), System.Object[] (6 sets, 928 duplicated bytes), (...)
Empty weak reference (Show details) (Ignore...)
The WeakReference type has instances that are no longer alive.
Investigate the WeakReference type for more information.
System.WeakReference
Large instances (Show details) (Ignore...)
One type has instances that are located in the large object heap.
Investigate the type below for more information.
System.Object[]
Held duplicate instances (Show details) (Ignore...)
8 types have duplicate instances that are held by other duplicate instances (241 sets, 19.008 duplicated bytes).
Investigate the types below for more information.
System.Object[] (74 sets, 17.892 duplicated bytes), SecurityElement (64 sets, 14.936 duplicated bytes), ArrayList (76 sets, 14.420 duplicated bytes), StrongNameMembershipCondition (21 sets, 6.552 duplicated bytes), System.String (2 sets, 816 duplicated bytes), TokenBasedSet (2 sets, 192 duplicated bytes), NamedPermissionSet (one set, 48 duplicated bytes), SecurityPermission (one set, 24 duplicated bytes)
Note: I remember you that the application is composed of : Window form, button and one event click with empty code.
if someone know MemProfiler and tell me why all this instance have been detected: or the program Memprofiler works badly or there is something to do inside the form designer.