Home IT Linux Windows Database Network Programming Server Mobile  
  Home \ Linux \ GNU / Linux system, how to clean up memory space     - Ten to improve the efficiency of the Linux bash tricks (Linux)

- C ++ Supplements - Smart Pointers (Programming)

- Ubuntu 12.04 installation instructions under GAMIT10.40 (Linux)

- Java proxy use and proxy principle (Programming)

- Implement binary search algorithm in C language (Programming)

- Ubuntu 14.10 Server configuration wireless Internet access (Server)

- Use MongoDB C # MongoDB official driving operation (Database)

- C / C ++ various data types Conversion Summary (Programming)

- MySQL related statements (CRUD) (SQLyog software) (Database)

- Caffe + Ubuntu 14.04 64bit + CUDA 6.5 configuration instructions (Linux)

- Tomcat itself through simple movement separation (Server)

- NaSC using simple mathematical operations on Ubuntu and Elementary OS (Linux)

- Ubuntu font settings: Using Windows Font (Linux)

- To share Internet access through NAT mode under Virtual Linux VMware Workstation (Linux)

- How to create a cloud encrypted file system in Linux systems (Linux)

- Java developers question (Programming)

- Three details reflect the Unix system security (Linux)

- MySQL database under Linux to achieve automatic backup scheduled backup day (Database)

- How to Install Focuswriter 1.4.5 (Linux)

- Java Builder mode (Programming)

  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.
- Linux program analysis tool: ldd and nm (Linux)
- OpenStack image production in the CentOS 6.2 (Linux)
- How to find an IP address through the command line (Linux)
- Acquaintance C ++: the most simple C ++ program (Programming)
- Linux install the Java Runtime Environment and the output Hello World under (CentOS) (Linux)
- Large computer network security policy Experience (Linux)
- Linux POST fstab configuration file read-only variable can not be modified problem (Linux)
- Kali Linux resolve GPG error KEYEXPIRED 1425567400 (Linux)
- bash login and welcome message: / etc / issue, / etc / motd (Linux)
- Android Fragment really fully resolve (Programming)
- Linux configuration Samba server (Server)
- 10 Codes of good practice PHP (Programming)
- The principle Httpclient4.4 (HttpClient Interface) (Programming)
- Linux account related documents Interpretation (Linux)
- Do not enter password login ssh (Server)
- Detailed usage history command (Linux)
- MySQL master-slave delay problem (Database)
- Java call by value and by reference (Programming)
- Ubuntu 14.04 jdk Installation and Configuration (Linux)
- CentOS 5.x install Lua 5.2.3 error (LIBS = -lncurses) (Linux)
  CopyRight 2002-2016 newfreesoft.com, All Rights Reserved.