[Ubuntu] Memory 부족

Linux 2016. 2. 17. 14:44

It means you do not have enough memory to execute the operation.

Since it is a dpkg error, try to configure.

$ sudo dpkg --configure -a


But if you are still getting the error.

Check the free and used physical memory in megabytes by following command.

$ free -m

It displays the total amount of free and used physical memory and swap space in the system, as well as the buffers and cache consumed by the kernel.


Flush file system buffers by executing :

$ sync


Now try again.

If you are still facing the same problem, follow this.
To free page cache:

$ echo 1 > /proc/sys/vm/drop_caches


To free dentries and i-nodes :

$ echo 2 > /proc/sys/vm/drop_caches


To free page cache, dentries and i-nodes :

$ echo 3 > /proc/sys/vm/drop_caches


'Linux' 카테고리의 다른 글

아파치 rewrite module 켜서 .htaccess 활성화하기(우분투 기준)  (0) 2016.02.22
[Proxy] pear proxy 설정  (0) 2016.02.18
[Ubuntu]Apache 설치  (0) 2016.02.17
[Ubuntu]14.04 원격접속 - xrdp  (0) 2016.02.17
Ubuntu 14.04 - Network restart  (0) 2016.02.16
Posted by kissuu
,