Home IT Linux Windows Database Network Programming Server Mobile  
  Home \ Linux \ GNU / Linux system, how to clean up memory space     - Create Your Own Docker base image in two ways (Linux)

- MySQL high availability cluster fragmentation of deployment uses Cobar (Database)

- OpenWrt modify flash size (Linux)

- Packages with Snort intrusion monitoring light (Linux)

- C ++ precision performance test function (Programming)

- OpenSUSE installation on CentOS6 (GUI) (Linux)

- Laravel cache paged results (Server)

- Linux ln command - create a file / directory link (Linux)

- Linux see whether there is a hacker program (Linux)

- The execution order of Oracle WHERE condition is not from right to left (Database)

- grep regular expression (Linux)

- Ubuntu 14.04 build Gitlab (Linux)

- How to restart after a crash Cinnamon (Linux)

- Android graphic introduction NDK installation and simple jni demo implementation (Linux)

- Ubuntu program using the Sound Recorder (Linux)

- Elaborate .NET Multithreading: Thread Pool (Programming)

- Java threads in the life cycle (Programming)

- Eclipse improve the efficiency of good habits (Programming)

- Some common regular expressions (Linux)

- Under Linux using Magent + Memcached cache server cluster deployment (Server)

  GNU / Linux system, how to clean up memory space
  Add Date : 2018-11-21      
  After opening consume a lot of memory-intensive programs, after close these programs and found that memory space is occupied and not closed when the application is the same, to cause other applications open when not enough memory or very slow, then the time wanted to clean out previously the program to open the memory occupied, and most of them are occupied by the data cache, then how clean it for memory? Use the following steps to clean up the memory:

Most GNU Linux is enabled by default caching mechanism to check the configuration file cat / proc / sys / vm / drop_caches if it is 0, it means open the caching mechanism, this mechanism when a service has been running very effective, easy to quickly read the service itself, but as a desktop user, open programs not so simple, so it is recommended to set this desktop user profile 1, in a timely manner to clean up the system cache, freeing up space for other programs use.

1. Before clearing the memory usage
free -h

2. Start Cleanup
echo 1> / proc / sys / vm / drop_caches

3. After cleaning up memory usage
free -h

About drop_caches meant to make clear the memory system page cache, resulting in more available memory.
- Shell Programming points to note about the function (Programming)
- Linux system components Detailed log (Linux)
- C ++ Object Model Comments (Programming)
- Use Git in Eclipse (Linux)
- Ubuntu 14.04, 13.10 install OpenCV 2.4.9 (Linux)
- Golang environment configuration recommendations (Linux)
- CentOS 7 source code to compile and install PHP5.6 Nginx1.7.9 and MySQL (LNMP build environment) (Server)
- Android webView URL redirects affect goBack () (Programming)
- Redis logging system (Database)
- Install Ubuntu text editor KKEdit 0.2.10 (Linux)
- Linux System Getting Started Tutorial: How to Force Change your password at next logon Linux (Linux)
- Digital jQuery scrolling effect (Programming)
- MySQL Installation Troubleshooting (Database)
- Postgres-X2 deployment steps (Database)
- Android Studio Installation and Configuration Guide tutorial (Linux)
- Linux (Ubuntu) How iptables port mapping (Server)
- Vim Common Command Summary (Linux)
- Linux operating system ARP Spoofing Defense (Linux)
- Use Redis as time-series database: why and how (Database)
- Linux system security infrastructure Highlights (Linux)
  CopyRight 2002-2016 newfreesoft.com, All Rights Reserved.