Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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

1 Answer 1

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

 
discard

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.