nicer message about MemoryError when eg unable to commit large files

Bug #109115 reported by Martin Pool on 2007-04-23
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Martin Pool

Bug Description

Until bug 109114 is fixed (to let you commit multi-gb files) it would be nice if Bazaar at least gave a clean message when large files can't be committed. This could be done by either

 - catching MemoryError when the file is read -- though this still leaves some risk that we will be able to bring the file in, but will then fail on the next operation that allocates a byte of memory

 - imposing some hardcoded limit, say 100MB, that should be large enough for source code but small enough to fit into vm on even small machines.

Related branches

Martin Pool (mbp) on 2007-04-23
Changed in bzr:
importance: Undecided → Medium
status: Unconfirmed → Confirmed
Martin Pool (mbp) on 2009-09-03
Changed in bzr:
assignee: nobody → Martin Pool (mbp)
status: Confirmed → In Progress
Martin Pool (mbp) on 2009-09-04
summary: - nicer error when unable to commit large files
+ nicer message about MemoryError when eg unable to commit large files
Martin Pool (mbp) on 2009-09-10
Changed in bzr:
status: Fix Committed → Fix Released
milestone: none → 2.1
Vincent Ladeuil (vila) on 2009-09-17
Changed in bzr:
milestone: 2.1.0 → 2.1b1
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers