. Net Garbage Collector

Source: Internet
Author: User

Background garbage collector (GC),. Net 4.5 server applicationProgramIs enabled by default.

  • In a 32-bit operating system, the. NET heap is about 2 GB. With a 64-bit operating system, Microsoft believes that 10 Gb of heap is not common, and some customers even report that 50 GB of heap is used. However, if you want to use a single array larger than 2 GB, You need to enable gcallowverylargeobjects settings.
  • In the. NET Server garbage collector, each Heap has a logic processor. The small object heap will rebalance when necessary, but the large object heap won't do so before. Net 4.5.
  • When using a NUMA architecture with multiple CPU groups, you should enable the gccpugroup setting.
  • You can temporarily disable the Garbage Collector in sustainedlowlatency mode in performance-important operations.

About server performance,. Net 4.5, and

 

Solve the problem of system. outofmemoryexception in ASP. NET

The. NET Framework 4.5 between des new Garbage Collector enhancements for client and server apps

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.