Ticket #329 (new defect)

Opened 8 years ago

Last modified 5 years ago

mc has high memory footprint when working with archives through VFS

Reported by: mcermak Owned by:
Priority: major Milestone: Future Releases
Component: mc-vfs Version: 4.6.1
Keywords: Cc: andras.barna@…
Blocked By: #1466 Blocking:
Branch state: no branch Votes for changeset:


When user works with archives, the archive is unpacked to /tmp. /tmp is usually a virtual filesystem held in memory. As the archive can be large, the memory footprint can rise quite high. This also blocks memory pages for other applications forcing system to swap.

This issue was reported on OpenSolaris? but I see it as general issue.
OpenSolaris? bug: http://defect.opensolaris.org/bz/show_bug.cgi?id=8158


mc-tmpdir.patch (365 bytes) - added by mcermak 8 years ago.
Fix proposed by reporter

Change History

Changed 8 years ago by mcermak

Fix proposed by reporter

comment:1 Changed 8 years ago by angel_il

thank you for patch, but is no good way.
i have wl500gp and i have problem with /tmp but my unlimit temp is /opt/tmp.
If you wish to make really correct patch you mast patch configure... and add option --tmpdir=DIR

comment:2 Changed 7 years ago by styx

  • Milestone set to future releases

comment:3 Changed 7 years ago by angel_il

  • severity set to no branch
  • Milestone changed from future releases to 4.7.0-pre3

comment:4 Changed 7 years ago by iNode

  • Blocked By 1466 added
  • Milestone changed from 4.7.0-pre3 to 4.7

Should be solved in #1466.

comment:5 Changed 7 years ago by angel_il

Should be solved in #1466.

this another trouble...

particular solve

use TMPDIR var

like this

export  TMPDIR=~/tmp


TMPDIR=~/tmp mc

comment:6 Changed 5 years ago by andrew_b

  • Branch state set to no branch
  • Milestone changed from 4.7 to Future Releases
Note: See TracTickets for help on using tickets.