11/12/2022 0 Comments Linux memory usage![]() In fact, in Linux, we generally don't need to clean up our memory ourselves (because Linux manages it very well). However, Swap is certainly not as fast as real memory. When our physical memory is occupied, but the system needs more memory resources, the system will move part of the static data to Swap. You can see that my laptop has about 12GB, and it uses about 5GB.Īnd Swap refers to a space located on a "hard disk". We can use the following command to display the memory value in Linux: free -m ![]() ![]() Now that I have tested and learned some knowledge about memory in Linux system, I recorded them all. ![]() Recently, I want to experiment the execution speed of Linux program, in order to avoid being affected by the memory loading when measuring the speed, some commands are queried to clear the memory. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |