[MacPorts] #54156: port reclaim consumes gigabytes of memory

MacPorts noreply at macports.org
Sun May 14 10:42:31 UTC 2017


#54156: port reclaim consumes gigabytes of memory
--------------------------+-----------------
  Reporter:  mojca        |      Owner:
      Type:  enhancement  |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  base         |    Version:
Resolution:               |   Keywords:
      Port:               |
--------------------------+-----------------

Comment (by neverpanic):

 Can you try

 {{{
 #!patch
 diff --git a/src/macports1.0/reclaim.tcl b/src/macports1.0/reclaim.tcl
 index 4db3fda3..dcd18a50 100644
 --- a/src/macports1.0/reclaim.tcl
 +++ b/src/macports1.0/reclaim.tcl
 @@ -191,6 +191,8 @@ namespace eval reclaim {
                  set patchfiles {}
              }

 +            mportclose $mport
 +
              foreach distfile [concat $distfiles $patchfiles] {
                  set root_path [file join $root_dist $dist_subdir
 $distfile]
                  set home_path [file join $home_dist $dist_subdir
 $distfile]

 }}}

 and see if that helps?

--
Ticket URL: <https://trac.macports.org/ticket/54156#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list