nicer message about MemoryError when eg unable to commit large files

Bug #109115 reported by Martin Pool
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
Fix Released
Medium
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.

Tags: memory trivial ui
Martin Pool (mbp)
Changed in bzr:
importance: Undecided → Medium
status: Unconfirmed → Confirmed
Martin Pool (mbp)
Changed in bzr:
assignee: nobody → Martin Pool (mbp)
status: Confirmed → In Progress
Revision history for this message
Martin Pool (mbp) wrote : Re: nicer error when unable to commit large files
Changed in bzr:
status: In Progress → Fix Committed
Martin Pool (mbp)
summary: - nicer error when unable to commit large files
+ nicer message about MemoryError when eg unable to commit large files
Martin Pool (mbp)
Changed in bzr:
status: Fix Committed → Fix Released
milestone: none → 2.1
Vincent Ladeuil (vila)
Changed in bzr:
milestone: 2.1.0 → 2.1b1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.