2013-09-05

Ubuntu Ramdisk: An Easy Way

I'm doing some code that use Derby (Java DB) and creating every time the database is some time consuming. It may be solved using a ram disk, this is the ubuntu way (maybe most GNU/Linux way).

mkdir -p /tmp/ram
sudo mount -t tmpfs -o size=512M tmpfs /tmp/ram/

more info here

No hay comentarios: