Ticket #329 (new defect)
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@…, info@… | |
Blocked By: | #1466 | 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
Fix proposed by reporter