[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: /tmp is too small




On Jun 7, 2012, at 6:48 AM, Hendrik Boom wrote:

Or alternatively, how can I enlarge the tmpfs? I need it enlarged from anout 200M to about 2G for this week's project. Yes, that's a lot bigger
than my RAM.

Increase your swap to 4GB -- even if you plan never to swap. The space will be available to act as backing store for tmpfs.

I *think* the algorithm for setting the size of tmpfs is one half of RAM + SWAP. Hence the 4GB. If that doesn't work, you can set the size explicitly in /etc/fstab.

Rick


Reply to: