Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

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

I've been doing jmeter tests and have had a few OutOfMemoryExceptions, so I've bumped up the heap memory in JMeter. But now it seems I can't run anymore tests as it says I'm using 94.9% of 14Gb.

When I use df -h it says dev/sda1 is full

I was wondering if anyone can help me? I think it has to do with the JVM from the jmeter

share|improve this question
Did you see this…? – Takkat Aug 3 '14 at 13:17

Start by tracking down where the excess usage is being stored. If you have no idea, start from the mountpoint for /dev/sda1:

mount | grep sda1

Use the du command. If /dev/sda1 is mounted on / ("root"):

du --max-depth=1 --human-readable / | sort --human-numeric-sort

This will list the first level of directories contained in the specified path, in order from smallest to largest. You can increase the depth past 1 to get details of the subdirectories, or change the path to specify a single directory. You can also use the short flags.

For instance, if your username is ubuntu and you want to inspect your home directory:

du -d1 -h /home/ubuntu | sort -h
share|improve this answer
The correct answer is in @Takkat's comment above:… – Aren Cambre Jan 13 '15 at 13:52

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.