classification
Title: bdist_msi runs out of memory for large packages
Type: behavior Stage: patch review
Components: Distutils Versions: Python 3.1, Python 3.2, Python 2.7
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: bethard Nosy List: bethard, loewis
Priority: release blocker Keywords: patch

Created on 2009-06-21 19:10 by bethard, last changed 2009-06-21 21:08 by bethard. This issue is now closed.

Files
File name Uploaded Description Edit
bdist_msi.patch bethard, 2009-06-21 19:10
Messages (3)
msg89575 - (view) Author: Steven Bethard (bethard) * (Python committer) Date: 2009-06-21 19:10
Right now, bdist_msi can run out of memory when used for larger
packages. (I found this problem working with NLTK.) The solution is
really simple - just add a db.Commit() so that stuff gets flushed to
disk more often. The attached patch does just that.

I set this as a release blocker because I think shipping Python 3.1 with
a bdist_msi in that doesn't work for large packages is probably a
mistake, and the patch to fix it is small and non-invasive.
msg89577 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2009-06-21 19:36
The patch is fine, please apply.
msg89582 - (view) Author: Steven Bethard (bethard) * (Python committer) Date: 2009-06-21 21:08
Done in r73499 and r73500. Thanks!
History
Date User Action Args
2009-06-21 21:08:22bethardsetstatus: open -> closed
resolution: accepted -> fixed
messages: + msg89582
2009-06-21 19:36:13loewissetresolution: accepted

messages: + msg89577
nosy: + loewis
2009-06-21 19:10:43bethardcreate