Super User is a question and answer site for computer enthusiasts and power users. 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

I noticed that firefox sometimes uses a lot of memory. Can something like setrlimit be used to control it? I tried to use it on the command line, but it didn't work.

share|improve this question
I'm not sure if this is a good idea. If Firefox reaches the memory limit, it may crash instead of continuing to run with no new tabs or other content (the behavior you appear to be expecting). – bwDraco Apr 26 '11 at 5:04
up vote 1 down vote accepted

Various shells support setrlimit(2,3p), such as bash via ulimit. See help ulimit for more details.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .