'out of memory' sending empty patch on SunOS
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
Low
|
Unassigned |
Bug Description
A simple command causes: OUT OF MEMORY error:
$ cd test.bzr/
$ bzr send -o test.patch .
The used test repository was almost empty: only two test files with only one line text in each. See attached bzr repository.
$ uname -a
SunOS 5.9 Generic_122300-47 sun4u sparc
$ ulimit -a
core file size (blocks) 0
data seg size (kbytes) 16384
file size (blocks) 32000
open files 256
pipe size (512 bytes) 10
stack size (kbytes) 8192
cpu time (seconds) 300
max user processes 100
virtual memory (kbytes) 350000
$ bzr --version
Bazaar (bzr) 2.1.0rc1
Python interpreter: /usr/local/
Python standard library: /usr/local/
Platform: Solaris-
bzrlib: /usr/local/
$ top -d1
last pid: 17567; load avg: 0.74, 0.84, 0.85; up 14+22:10:52 18:57:56
340 processes: 339 sleeping, 1 on cpu
CPU states: 94.3% idle, 0.9% user, 4.7% kernel, 0.0% iowait, 0.0% swap
Memory: 1024M phys mem, 349M free mem, 3072M swap, 2978M free swap
Under Linux, with beefier hardware (AMD, 8G mem), using same repository, the results are:
$ bzr send -o test.patch . foo/tmp/ test.bzr/ ".
bzr: ERROR: Not a branch: "/home/
$ uname -a
Linux 2.6.32-trunk-amd64 #1 SMP Sun Jan 10 22:40:40 UTC 2010 x86_64 GNU/Linux
$ bzr --version
Bazaar (bzr) 2.0.3