Linux Memory Management
absrtact : This chapter first examines the process memory management of Linux from the perspective of application developers, and builds on the kernel to discuss the system physical memory management and kernel memory usage.
I have seen an introduction to the memory pool technology, which has benefited a lot.
Original post address: http://www.ibm.com/developerworks/cn/linux/l-cn-ppp/index6.html
6.1 Principle of Performance Optimization for custom memory pools
As
See an article about the memory pool technology introduction article, benefited, posted here.Original Sticker Address: http://www.ibm.com/developerworks/cn/linux/l-cn-ppp/index6.html 6.1 The principle of custom memory pool performance optimizationAs
. Net program memory usage Problems
1. Use the Performance Testing Tool dottrace 3.0 to calculate that the code in your program occupies a large amount of memory.
2. Forced garbage collection
3. Multiple dispose and close
4. Call timer every several
The top command is often used to understand process information, including memory information. The command top help document explains each field in this way. VIRT, Virt
The top command is often used to understand process information, including
The LinuxTOP command sorts processes by memory usage and by CPU usage P & amp; ndash; lists processes in the order of CPU usage M & amp; ndash; the process list is arranged in the order of memory usage. during system maintenance, you may need to
SQLite uses dynamic memory allocations to obtain the memory needed for various objects, such as database connections and SQL preprocessing statements, to establish the memory cache for database files, and to save query results. We've done a lot of
Linux TOP commands are sorted by memory usage and by CPU usage P-process list in the order of CPU usage M-process list in the order of memory usage during system maintenance, you may need to check the CPU usage at any time and analyze the system
Presumably the students who wrote the program on Linux have an experience of how much memory the process consumes, or how much memory (physical memory) your program occupies at runtime. Usually we can see how much memory is consumed by the process
ext.: http://www.cnblogs.com/bravery/archive/2012/06/27/2560611.htmlOverviewPresumably the students who wrote the program on Linux had an experience of how much memory was being consumed by the analysis process, or asked the question-how much memory
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.