Crash when pushing many files
tinaught opened this issue · 0 comments
When I try to push a directory with many files in it (in my case 1,025,508) the program crashes.
me@zzz /mnt/media $ drive push -r Pictures/mmc-backup/
Resolving...
fatal error: runtime: cannot map pages in arena address space
goroutine 377178 [running]:
runtime.throw(0x846c934)
/usr/lib/go/src/pkg/runtime/panic.c:520 +0x71 fp=0x5cb16c9c sp=0x5cb16c90
runtime.SysMap(0x0, 0x100000, 0x5cb16c5c, 0x8474938)
/usr/lib/go/src/pkg/runtime/mem_linux.c:159 +0x13a fp=0x5cb16cbc sp=0x5cb16c9c
runtime.MHeap_SysAlloc(0x847d800, 0x100000)
/usr/lib/go/src/pkg/runtime/malloc.goc:616 +0xf7 fp=0x5cb16cec sp=0x5cb16cbc
MHeap_Grow(0x847d800, 0x10)
/usr/lib/go/src/pkg/runtime/mheap.c:319 +0x57 fp=0x5cb16d14 sp=0x5cb16cec
MHeap_AllocLocked(0x847d800, 0x1, 0x1d)
/usr/lib/go/src/pkg/runtime/mheap.c:222 +0x2f4 fp=0x5cb16d34 sp=0x5cb16d14
...