c# - How to prove that a version of a program is more memory efficient? -


i have application has process hundred of thousands of records. right now, can process 500 of them @ time. each batch can take 5 minutes process/analyze (total of ~10 hours of processing). reason limit of 500 records memory consumption. think 1 of main reason why our program takes memory fact don't set size of lists or dictionaries (e.g. new list() instead of new list(100000)). did changes set size of collection .net stop creating , copying new lists capacity.

here's question: how prove version of program more memory efficient? there performance counters should at? tools? monitoring?

there tools .net memory profiler can have in-depth analysis of memory management , memory leaks of .net application.

.net memory profiler powerful tool finding memory leaks , optimizing memory usage in programs written in c#, vb.net or other .net language. of profiling guides, automatic memory analyzer, , specialized trackers, can make sure program has no memory or resource leaks, , memory usage optimal possible.


Comments

Popular posts from this blog

javascript - backbone.js Collection.add() doesn't `construct` (`initialize`) an object -

php - Get uncommon values from two or more arrays -

Adding duplicate array rows in Php -