Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

It is often suggested to me that to improve the performance of the Eclipse development environment, that I should move the Java JDK/JVM (and possibly Eclipse) to a Ramdisk.

I know that the Ubuntu has this /dev/shm device always available, but whats the right way to set up a ram disk with Java on it that will be there everytime I boot up?

share|improve this question
up vote 8 down vote accepted

I came across some articles the other day while investigating my own /tmpfs projects

Refer to:


share|improve this answer
That first link looks exactly like what I am looking for thanks. The second link recommends putting the Eclipse workspace files on the Ramdisk(!) which I am don't think I'll ever do! – HDave Mar 15 '12 at 4:59
Does this dramatically increase performance? – Patrick Sep 26 '12 at 21:43

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.