Errors during "Acquire Packages"

running Octo 3.0.15

the new Delta style of transmitting files to the servers had always failed for us. (there is another discussion talking about that.) however, normally it would fail that style, and then send the whole file, and the deployment would proceed normally.

during a series of deployments today, all the depoyments were getting errors reported by from Calamari, which fatally halted the deployment for 7 out of 9 deployments. restarting them from the top did, however, succeed.

these are the two errors were are getting, multiple times in each deploy:

Calamari.Integration.Processes.CommandLineException: The following command:C:\Octopus\SYNOVUS\Calamari\\Octodiff.exe
Failed with exit code: 4
   at Calamari.Commands.ApplyDeltaCommand.Execute(String[] commandLineArguments) in y:\work\b1fd300731d5f2fc\source\Calamari\Commands\ApplyDeltaCommand.cs:line 76
   at Calamari.Program.Main(String[] args) in y:\work\b1fd300731d5f2fc\source\Calamari\Program.cs:line 21

System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
   at Go1(RegexRunner )
   at System.Text.RegularExpressions.RegexRunner.Scan(Regex regex, String text, Int32 textbeg, Int32 textend, Int32 textstart, Int32 prevlen, Boolean quick, TimeSpan timeout)
   at System.Text.RegularExpressions.Regex.Run(Boolean quick, Int32 prevlen, String input, Int32 beginning, Int32 length, Int32 startat)
   at System.Text.RegularExpressions.Regex.Match(String input)
   at NuGet.SemanticVersion.TryParseInternal(String version, Regex regex, SemanticVersion& semVer)
   at Calamari.Commands.FindPackageCommand.Execute(String[] commandLineArguments) in y:\work\b1fd300731d5f2fc\source\Calamari\Commands\FindPackageCommand.cs:line 36
   at Calamari.Program.Main(String[] args) in y:\work\b1fd300731d5f2fc\source\Calamari\Program.cs:line 21   

I have also attached one of the raw server logs.

thanks for the help. (still waiting for an option to simply turn off the Delta stuff.)

ServerTasks-7173.log.txt (61 KB)

Hi Mike,

I’m sorry about this. It looks like the server ran out of memory during the delta calculations which caused it to fail.

We’re adding the option to disable delta compression, and making it a priority - we should have a fix in the next couple of days.

Delta compression seems to work for the majority of people but we can’t seem to get to the bottom of why it isn’t working in your case. Sorry for all the problems this issue has caused you.


thank you.