Ticket #329 (closed defect: wontfix)
mc has high memory footprint when working with archives through VFS
Reported by: | mcermak | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | mc-vfs | Version: | 4.6.1 |
Keywords: | Cc: | andras.barna@…, info@… | |
Blocked By: | Blocking: | ||
Branch state: | no branch | Votes for changeset: |
Description
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
Attachments
Change History
Changed 16 years ago by mcermak
- Attachment mc-tmpdir.patch added
comment:1 Changed 16 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:3 Changed 15 years ago by angel_il
- severity set to no branch
- Milestone changed from future releases to 4.7.0-pre3
comment:4 Changed 15 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 15 years ago by angel_il
Should be solved in #1466.
this another trouble...
particular solve
use TMPDIR var
like this
export TMPDIR=~/tmp mc
or
TMPDIR=~/tmp mc
comment:6 Changed 13 years ago by andrew_b
- Branch state set to no branch
- Milestone changed from 4.7 to Future Releases
comment:8 Changed 21 months ago by andrew_b
Ticket #2113 has been marked as a duplicate of this ticket.
comment:10 Changed 12 days ago by zaytsev
- Status changed from new to closed
- Resolution set to wontfix
- Milestone Future Releases deleted
When possible (tar) mc doesn't use TMPDIR, otherwise it's impossible to support extfs. For cases when extfs plugins are problematic use TMPDIR.
Fix proposed by reporter