Re: TMPDIR - Do we also need a drive backed TPMDIR ? [and 1 more messages]
Vincent Lefevre writes ("Re: TMPDIR - Do we also need a drive backed TPMDIR ? [and 1 more messages]"):
> On an older laptop, I had 4 GB RAM, and under normal conditions,
> I was using only around 1 GB. Swap was used only in two cases:
>
> 1. Because Firefox was taking more than 4 GB after some time, but
> in this case, the system was more or less frozen. So, the only thing
> I could do was to kill Firefox from a terminal, which was taking me
> several minutes... I ended up by using a wrapper script that did:
>
> ulimit -v 4096000
> exec /usr/bin/firefox "$@"
>
> so that Firefox would crash instead of freezing the system. Now, it
> seems that Firefox has improved and no longer take so much memory.
You may find that changing the io scheduler from cfq (which is
appallingly bad) to deadline helps.
> 2. Due to bugs in my programs, or something similar. Ditto, I would
> have preferred a crash than a frozen system.
Perhaps I have a different use pattern.
Ian.
Reply to: