hbons/SparkleShare — Issue #500: OSX Lion, 0.60: Out of memory exception
Author: bit4u
Created: 2012-01-02 10:55:57+00:00
State: open

Hi,

My SparkleShare 0.60 OSX Lion crashed today:

> 02-01-12 11:40:30,469 [0x0-0x1789788].org.sparkleshare.sparkleshare: 11:40:30 [Cmd] /Applications/SparkleShare.app/Contents/Resources/git/bin/git log -50 --raw -M --date=iso
02-01-12 11:40:31,191 [0x0-0x1789788].org.sparkleshare.sparkleshare: 11:40:31 [Cmd] /Applications/SparkleShare.app/Contents/Resources/git/bin/git log -50 --raw -M --date=iso
02-01-12 11:40:31,406 [0x0-0x1789788].org.sparkleshare.sparkleshare: 11:40:31 [Cmd] /Applications/SparkleShare.app/Contents/Resources/git/bin/git status --porcelain
02-01-12 11:41:22,390 [0x0-0x1789788].org.sparkleshare.sparkleshare: 11:41:22 [Cmd] /Applications/SparkleShare.app/Contents/Resources/git/bin/git log -50 --raw -M --date=iso
02-01-12 11:41:23,337 [0x0-0x1789788].org.sparkleshare.sparkleshare: 11:41:23 [Git][WebDev] Checking for remote changes...
02-01-12 11:41:23,337 [0x0-0x1789788].org.sparkleshare.sparkleshare: 11:41:23 [Cmd] /Applications/SparkleShare.app/Contents/Resources/git/bin/git ls-remote origin master
02-01-12 11:41:24,147 [0x0-0x1789788].org.sparkleshare.sparkleshare: 11:41:24 [Cmd] /Applications/SparkleShare.app/Contents/Resources/git/bin/git log -1 --format=%H
02-01-12 11:43:37,389 [0x0-0x1789788].org.sparkleshare.sparkleshare: 11:43:37 [Git][Bit4u] Checking for remote changes...
02-01-12 11:43:37,389 [0x0-0x1789788].org.sparkleshare.sparkleshare: 11:43:37 [Cmd] /Applications/SparkleShare.app/Contents/Resources/git/bin/git ls-remote origin master
02-01-12 11:43:37,936 [0x0-0x1789788].org.sparkleshare.sparkleshare: 11:43:37 [Cmd] /Applications/SparkleShare.app/Contents/Resources/git/bin/git log -1 --format=%H
02-01-12 11:47:43,372 [0x0-0x1789788].org.sparkleshare.sparkleshare: 11:47:43 [Git][Bart] Checking for remote changes...
02-01-12 11:47:43,372 [0x0-0x1789788].org.sparkleshare.sparkleshare: 11:47:43 [Cmd] /Applications/SparkleShare.app/Contents/Resources/git/bin/git ls-remote origin master
02-01-12 11:47:44,150 [0x0-0x1789788].org.sparkleshare.sparkleshare: 11:47:44 [Cmd] /Applications/SparkleShare.app/Contents/Resources/git/bin/git log -1 --format=%H
02-01-12 11:48:17,784 [0x0-0x1789788].org.sparkleshare.sparkleshare: Unhandled Exception: OutOfMemoryException
02-01-12 11:48:17,821 [0x0-0x1789788].org.sparkleshare.sparkleshare: [ERROR] FATAL UNHANDLED EXCEPTION: System.OutOfMemoryException: Out of memory
02-01-12 11:48:17,821 [0x0-0x1789788].org.sparkleshare.sparkleshare: at (wrapper managed-to-native) string:InternalAllocateStr (int)
02-01-12 11:48:17,821 [0x0-0x1789788].org.sparkleshare.sparkleshare: at System.String.Concat (System.String str0, System.String str1, System.String str2) [0x00000] in :0
02-01-12 11:48:17,821 [0x0-0x1789788].org.sparkleshare.sparkleshare: at SparkleLib.SparkleRepoGit.GetChangeSets (Int32 count) [0x00000] in :0
02-01-12 11:48:17,821 [0x0-0x1789788].org.sparkleshare.sparkleshare: at SparkleShare.SparkleControllerBase.GetLog () [0x00000] in :0
02-01-12 11:48:17,821 [0x0-0x1789788].org.sparkleshare.sparkleshare: at SparkleShare.SparkleControllerBase.GetLog (System.String name) [0x00000] in :0
02-01-12 11:48:17,821 [0x0-0x1789788].org.sparkleshare.sparkleshare: at SparkleShare.SparkleEventLogController.get_HTML () [0x00000] in :0
02-01-12 11:48:17,821 [0x0-0x1789788].org.sparkleshare.sparkleshare: at SparkleShare.SparkleEventLog+c__AnonStoreyB.<>m__25 () [0x00000] in :0
02-01-12 11:48:17,821 [0x0-0x1789788].org.sparkleshare.sparkleshare: at System.Threading.Thread.StartUnsafe () [0x00000] in :0
02-01-12 11:48:18,040 com.apple.launchd.peruser.501: ([0x0-0x1789788].org.sparkleshare.sparkleshare[13007]) Exited with code: 1

I'm running this on my Mac Book Pro Quad Core 2.3 Ghz with 8GB of Ram. My SparkleShare folders are 7 GB total. Before crashing the SparkleShare CPU usage was about 260% of 400%.

Is there something i can help to debug this error with?