In use. NET, it may run into memory overflow, or the memory footprint is too large when the program is running. In particular, the hospital PACs, RIS system for the picture operation is more frequent, the program memory control is particularly important, this time can be used. NET memory analysis tool Ants Memory Profiler for the memory analysis of the program.
Introduction tool download Address: http://www.red-gate.com/products/Document Address: Http://documentation.red-gate.com/display/AMP8/ANTS+M Emory+profiler+8+documentation, the tool can accurately know the program's class, attributes, and so the proportion of memory occupied, and can analyze the program large object.
Application Scenarios 1. Io Frequent code Analysis such as the development of PACs system for the operation of the picture is very frequent, you can use the tool to analyze and optimize the code. Some IO streams in use if not carefully shut down will cause the object can not be released, garbage processing is not processed in time, can cause program memory crashes.
2. Procedures for higher memory requirements in the hospital system development process, due to the hospital's basic environment restrictions, the actual operating procedures of the computer configuration is poor, computer and even the last century of antiques, for the program's memory requirements are very high, If you do development in a similar environment, you need to consider the memory analysis of the program.
Using the example is also relatively simple, the specific parameters can refer to the official document
You can also view the percentage of memory that each module consumes