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 encountered a bug in eclipse with this error log reported as Bug #1097078. According to the error log, there was a line as

Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again

Then, I executed ulimit -c unlimited.

Now I think (not sure) it is causing some problem as my eclipse is closing automatically which showed some error message like (not accurate) memory full, you don't have enough memory to collect data the first time.

My question is, what is the command opposite to ulimit -c unlimited?

share|improve this question
up vote 1 down vote accepted

You can disable core dumps by setting the core limit to 0:

ulimit -c 0

This is the default setting, so it has no effect unless you've previously run another ulimit -c command.

share|improve this answer

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.