Free up memory on Ubuntu

I’ve noticed that doing a extraction of a large archive (with tar) or moving files around the network (with scp) takes up all memory of the Ubuntu server. Just today, I extracted a 33GB archive at the process “eaten” up 28GB of memory, which would be fine if the process would free up the memory after using it. Unfortunately, this is not the case.
So, in order to free up memory again one has to issue the following command:
[code]
sync
sudo echo 3 > /proc/sys/vm/drop_caches
[/code]
The “echo 3 > /proc/sys/vm/drop_caches” command is used to clean up your memory from pagecache, dentries and inodes.
This effectively frees up the used memory.

Linux and "The system is running in low-graphics mode" error
So, after moving from Mac to Windows to Linux, I went on a crusade to find the perfect Linux Desktop Environment. I originally installed Ubuntu 15.04 and quickly wondered off to Cinnamon, tried, Gnome 2 and 3, then XFCE and tried Tiling Managers like AwesomeWM and i3. Without starting a desktop…

Looking for a Chromebook? Get this instead
The following is my personal opinion. I'm not affiliated with any of the companies mentioned below, nor did anyone pay me for this post. Are you currently looking for a Chromebook? Maybe the new Samsung Chromebook or the latest Pixelbook Go? Is the device you are looking at coming with…

CFML and Cannot run program "chmod": java.io.IOException: error=24, Too many open files
Migrating one of my customers the other day, bought up an ugly error when I had to create 2000 directories on one go. The error was: [code]Cannot run program "chmod": java.io.IOException: error=24, Too many open files[/code] While, "too many open files" usually means one can raise the limit of open…

Solutions for Oracle ORA-28002 and ORA-27101
Running an Oracle database is great, because it is stable and just runs, but sometimes you are hit with unexpected errors when you restart your machine. Thought, I know Oracle quite well, I'm always surprised at some things. Here are two errors (and solution) I was just confronted with: ORA-27101:…

Expanding our infrastructure
In the past few weeks, we've been expanding our infrastructure to enhance your experience with Helpmonks. We've invested into faster and more powerful servers for our application servers, i.e., more CPU cores can load and serve the Helpmonks application faster. Besides, all servers have more and significantly faster memory resulting…

How to create a virtual machine server image from a physical CentOS server
I run a couple of servers over at a server farm. All of those machines run VMWare ESX, so today I wanted to move my last physical server to a VMWare image. If you want to convert a physical Windows machine then your task is quite easy. Start up the…