Created
October 21, 2015 03:19
-
-
Save bryder/9af775bad4342ba97490 to your computer and use it in GitHub Desktop.
Simulating less memory using tmpfs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo mkdir /mnt/tmpfs | |
sudo mount -t tmpfs -o size=16g /dev/shm /mnt/tmpfs | |
dd if=/dev/zero bs=1024k count=4096 of=/mnt/tmpfs/bigfile |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment