hbons/SparkleShare — Issue #519: Malloc failed when trying to add a bunch of mp3s
Author: mmcc
Created: 2012-01-10 04:47:41+00:00
State: open

I'm trying to add a bunch of MP3s into a share. Client is on windows, server is on debian unstable (running on an old machine with 1gb of ram, I think). It goes through compressing the objects (separate issue - it would be nice if it didn't attempt to compress compressed files), and tries to write them to the server, then fails and goes back to compressing again. This repeats indefinitely until I kill it.

A suggestion for how to back out of my large copy so I can do smaller copies would be appreciated.

Output in the windows console as follows:

C:\projects\SparkleShare\bin>SparkleShare.exe
23:01:33 [SSH] ssh-agent started, PID=5992
Identity added: C:\Users\Clark\AppData\Roaming\sparkleshare\sparkleshare.clarkca
se@gmail.com.key (C:\Users\Clark\AppData\Roaming\sparkleshare\sparkleshare.clark
case@gmail.com.key)
23:01:34 [Cmd] git log -1 --format=%H
23:01:34 [Cmd] git rev-list --reverse HEAD
23:01:34 [ListenerFactory] Issued new listener for tcp://notifications.sparklesh
are.org:1986/
23:01:34 [ListenerTcp] Connecting to notifications.sparkleshare.org
23:01:34 [Listener] Listening for announcements on tcp://notifications.sparklesh
are.org:1986/
23:01:34 [Git][Music] Checking for remote changes...
23:01:34 [Cmd] git ls-remote origin master
23:01:36 [Cmd] git status --porcelain
23:01:41 [Cmd] git log -1 --format=%H
23:01:41 [Git][Music] Remote changes found. (906784b631365bfa905d781b8e08d82e269
76253 refs/heads/master)
23:01:41 [SyncDown][Music] Initiated
23:01:41 [Cmd] git log -1 --format=%H
23:01:41 [Cmd] git fetch -v
From ssh://192.168.1.4/mnt/storagedrive/Music
= [up to date] master -> origin/master
23:01:47 [Cmd] git status --porcelain
23:01:47 [Cmd] git rebase -v FETCH_HEAD
23:01:50 [SyncDown][Music] Done
23:01:50 [Cmd] git log -1 --format=%H
23:01:50 [Cmd] git add --all
23:01:50 [Git][Music] Changes staged
23:01:50 [Cmd] git status --porcelain
23:01:51 [Cmd] git commit -m "" --author="Clark"
23:01:51 [Commit][Music]
23:01:51 [Cmd] git push origin master
Counting objects: 498, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (494/494), done.
fatal: Out of memory, malloc failed (tried to allocate 1516595137 bytes)
fatal: early EOF
error: failed to push some refs to 'ssh://git@192.168.1.4/mnt/storagedrive/Music