Locating Unmanaged Leak

Use this forum for questions on how to use .NET Memory Profiler and how to analyse memory usage.
Post Reply
goalie7960
Posts: 2
Joined: Wed May 27, 2009 8:07 pm

Locating Unmanaged Leak

Post by goalie7960 » Wed May 27, 2009 8:09 pm

I'm pretty sure the app I have has a leak, but I don't understand how to read the output of the profiler. Anyone care to take a look at the dump and point me in the correct direction? Thanks in advance.

goalie7960
Posts: 2
Joined: Wed May 27, 2009 8:07 pm

Post by goalie7960 » Wed May 27, 2009 8:09 pm

Namespace Name Live instances New live instances Removed live instances Delta live instances Live bytes Max live instance size Min live instance size Delta live bytes Allocs/sec Bytes/sec
Checked C++ Runtime Memory 25332 21219 0 21219 5814079 24576 0 4660464 2906.02 1632259.2
Checked Kernel Local Memory (HLOCAL) 11107 7726 10 7716 2407174 47088 2 2006160 18.19 2655.6
Checked Kernel Global Memory (HGLOBAL) 866 845 1 844 710730 3162 16 691068 24.92 7004946.4
Checked Kernel HeapMemory 7791 181 93 88 1636908 122880 0 315647 1257.20 185199.7
Unchecked System String 6814 82 53 29 419578 4102 18 2452 2521.03 152109.3
Unchecked System.Xml XmlWellFormedWriter.State[] 2 2 0 2 1944 972 972 1944 0.00 2.0
Unchecked System Type[] 23 1 0 1 1808 1040 16 1040 380.70 8810.3
Unchecked System.Transactions InternalTransaction 5 2 0 2 900 180 180 360 0.00 0.4
Unchecked System.Transactions TransactionCompletedEventHandler 15 6 0 6 480 32 32 192 0.01 0.2
Unchecked System.Transactions PromotableInternalEnlistment 5 2 0 2 400 80 80 160 0.00 0.2
Unchecked System String[] 101 3 1 2 15928 8208 16 160 469.46 19221.6
Unchecked System.Data.ProviderBase DbReferenceCollection.CollectionEntry[] 7 2 0 2 364 52 52 104 0.00 0.1
Unchecked System.Data.SqlClient SqlInternalTransaction 5 2 0 2 220 44 44 88 6.04 265.6
Unchecked System.Transactions CommittableTransaction 5 2 0 2 200 40 40 80 0.00 0.1
Unchecked System.Xml WriteState[] 1 1 0 1 80 80 80 80 0.00 0.1
Unchecked System.Transactions Transaction 5 2 0 2 180 36 36 72 0.01 0.2
Unchecked System.Data.SqlClient SqlDelegatedTransaction 5 2 0 2 160 32 32 64 0.00 0.1
Unchecked System.Data.SqlClient _SqlMetaDataSet 7 4 2 2 196 28 28 56 4.27 119.6
Unchecked <GCHandle> 884 23 10 13 3536 4 4 52 199.30 797.2
Unchecked System WeakReference 75 9 6 3 1200 16 16 48 8.78 140.5
Unchecked System.Reflection Module 29 1 0 1 1392 48 48 48 0.00 0.0
Unchecked System.Xml ReadState[] 1 1 0 1 48 48 48 48 0.00 0.0
Unchecked System Object[] 259 6 4 2 87848 7012 16 48 617.69 18419.7
Unchecked System.Data.SqlClient SqlReferenceCollection 7 2 0 2 112 16 16 32 0.00 0.0
Unchecked System.Text UnicodeEncoding 3 1 0 1 96 32 32 32 0.00 0.0
Unchecked System.Transactions Enlistment 5 2 0 2 60 12 12 24 0.00 0.0
Unchecked System.Transactions SinglePhaseEnlistment 5 2 0 2 60 12 12 24 0.00 0.0
Unchecked System Guid 35 2 1 1 840 24 24 24 45.96 1102.9
Unchecked GlobalEdit.Core.API.Strings StringLogicalComparer 2 2 0 2 24 12 12 24 0.00 0.0
Unchecked System RuntimeType 964 1 0 1 19280 20 20 20 0.00 0.0
Unchecked System Byte[] 155 2 1 1 187898 8012 12 20 961.87 504324.5
Unchecked System.Text EncoderReplacementFallback 5 1 0 1 80 16 16 16 4.01 64.1
Unchecked System.Text DecoderReplacementFallback 5 1 0 1 80 16 16 16 4.01 64.1
Unchecked System.Xml.Linq XElement[] 1 1 0 1 16 16 16 16 0.22 30.8
Unchecked System Guid[] 5 1 0 1 252 60 12 12 0.00 0.0
Unchecked System.Threading ExecutionContext.ExecutionContextRunData 1 1 1 0 76 76 76 0 2.23 169.7
Unchecked System.Text.RegularExpressions Regex 5 1 1 0 260 52 52 0 0.00 0.1
Unchecked System.Threading ThreadHelper 2 1 1 0 40 20 20 0 2.01 40.1
Unchecked System.Net.Sockets Socket 1 1 1 0 76 76 76 0 0.00 0.2
Unchecked System Uri.UriInfo 1 1 1 0 44 44 44 0 0.00 0.1
Unchecked System.Threading Thread 6 1 1 0 336 56 56 0 2.01 112.4
Unchecked System.Net ServicePoint 1 1 1 0 124 124 124 0 0.00 0.1
Unchecked System.Net TimerThread.InfiniteTimerQueue 1 1 1 0 12 12 12 0 0.00 0.0
Unchecked System.Threading ExecutionContext 13 1 1 0 468 36 36 0 2.28 82.0
Unchecked System.Net ConnectionGroup 1 1 1 0 44 44 44 0 0.00 0.0
Unchecked System.Net HttpAbortDelegate 2 2 2 0 64 32 32 0 0.00 0.1
Unchecked System.Net.Sockets NetworkStream 1 1 1 0 48 48 48 0 0.00 0.0
Unchecked System.Net Connection.StatusLineValues 1 1 1 0 24 24 24 0 0.00 0.0
Unchecked System.Net TimerThread.InfiniteTimer 1 1 1 0 20 20 20 0 0.00 0.0
Unchecked System.Net IPAddress[] 2 1 1 0 44 24 20 0 0.00 0.0
Unchecked System.Threading WaitHandle[] 2 1 1 0 48 24 24 0 0.01 0.1
Unchecked System.Collections.Generic Dictionary<string, DbConnectionPoolGroup>.Entry[] 1 1 1 0 60 60 60 0 0.03 1.9
Unchecked System.Collections Hashtable.ValueCollection 2 1 1 0 24 12 12 0 4.01 48.1
Unchecked System.Net IPEndPoint 3 1 1 0 48 16 16 0 0.00 0.1
Unchecked System.Net UnlockConnectionDelegate 1 1 1 0 32 32 32 0 0.00 0.0
Unchecked System.Net GeneralAsyncDelegate 1 1 1 0 32 32 32 0 0.00 0.0
Unchecked System.Net IPAddress 10 2 2 0 400 40 40 0 0.00 0.2
Unchecked System Uri 1 1 1 0 40 40 40 0 0.00 0.1
Unchecked System.Runtime.Remoting.Messaging LogicalCallContext 13 1 1 0 468 36 36 0 2.27 81.8
Unchecked System.Net SafeCloseSocket 1 1 1 0 24 24 24 0 0.00 0.0
Unchecked System Uri.MoreInfo 1 1 1 0 32 32 32 0 0.00 0.1
Unchecked System RuntimeType.ActivatorCacheEntry 16 16 16 0 384 24 24 0 0.03 0.7
Unchecked System.Net TimerThread.TimerNode 4 1 1 0 160 40 40 0 0.00 0.1
Unchecked System.Net Connection 1 1 1 0 200 200 200 0 0.00 0.2
Unchecked System UInt16[] 11 2 2 0 804 524 28 0 0.00 0.1
Unchecked System.Threading ThreadStart 2 2 2 0 64 32 32 0 4.01 128.5
Unchecked System.Net SafeCloseSocket.InnerSafeCloseSocket 3 1 1 0 60 20 20 0 0.00 0.0
Unchecked System.Net WebHeaderCollection 1 1 1 0 68 68 68 0 0.00 0.1
Unchecked System CtorDelegate 2 2 2 0 64 32 32 0 0.01 0.2
Unchecked System.Collections.Specialized HybridDictionary 13 1 1 0 260 20 20 0 0.03 0.7
Unchecked System.Collections.Specialized ListDictionary 12 1 1 0 336 28 28 0 0.03 0.9
Unchecked System.Net CoreResponseData 1 1 1 0 36 36 36 0 0.00 0.1
Unchecked System.Collections.Generic Dictionary<string, DbConnectionPoolGroup> 1 1 1 0 52 52 52 0 0.03 1.7
Unchecked System EventHandler 18 2 2 0 576 32 32 0 2.03 65.0
Unchecked System.Collections.Specialized ListDictionary.DictionaryNode 11 1 1 0 220 20 20 0 0.04 0.7
Unchecked System.Collections Hashtable.bucket[] 337 2 2 0 78768 13248 144 0 50.36 8210.0
Unchecked System.Collections ArrayList 284 3 3 0 6816 24 24 0 285.52 6852.6
Unchecked System.Collections Hashtable 334 2 2 0 18704 56 56 0 44.14 2472.0
Unchecked System.Data.SqlClient _SqlMetaData[] 7 4 2 2 140 20 20 -80 4.27 94.6
Unchecked System Int32[] 211 2 3 -1 22556 1388 12 -136 351.72 13827.5
Unchecked System.Data.SqlClient SqlCollation 10 0 18 -18 160 16 16 -288 0.97 15.5
Unchecked System.Data.SqlClient _SqlMetaData 7 4 32 -28 896 128 128 -3584 6.57 840.7
Checked Kernel VirtualMemory 2502 48 34 14 21966848 1032192 4096 -344064 4.08 2086335.8
Checked Kernel File (HANDLE) 79 0 1 -1 20.03
Checked WinSock SOCKET 4 1 1 0 0.00
Checked Kernel Thread (HANDLE) 12 1 1 0 2.01
Checked AdvApi HKEY 35 1 1 0 0.05
Checked Kernel Event (HANDLE) 198 9 8 1 10.05
Checked AdvApi Token (HANDLE) 2 1 0 1 4.04

Post Reply

Who is online

Users browsing this forum: No registered users and 36 guests