Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 157483 Details for
Bug 228075
sys-apps/portage - emerge runs out of memory
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
explicitly call gc.collect() to try and free memory
garbage_collect.patch (text/plain), 661 bytes, created by
Zac Medico
on 2008-06-18 18:49:34 UTC
(
hide
)
Description:
explicitly call gc.collect() to try and free memory
Filename:
MIME Type:
Creator:
Zac Medico
Created:
2008-06-18 18:49:34 UTC
Size:
661 bytes
patch
obsolete
>Index: bin/emerge >=================================================================== >--- bin/emerge (revision 10708) >+++ bin/emerge (working copy) >@@ -5917,6 +5917,10 @@ > if self._opts_ignore_blockers.intersection(self.myopts): > return None > >+ # workaround for bug #228075 >+ import gc >+ gc.collect() >+ > blocker_dblinks = [] > for blocking_pkg in self._blocker_db[ > new_pkg.root].findInstalledBlockers(new_pkg, >@@ -5930,6 +5934,8 @@ > self.pkgsettings[blocking_pkg.root], treetype="vartree", > vartree=self.trees[blocking_pkg.root]["vartree"])) > >+ gc.collect() >+ > return blocker_dblinks > > def merge(self, mylist, favorites, mtimedb):
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 228075
:
157427
| 157483