Hi Speckle Team,
I have been working on a .net Automate function that has been working fine through local testing but now moving into production i get the following:
[prepare] 2025/10/27 18:45:37 Entrypoint initialization[79a0053d45-5710218482-1b3652] === Starting Speckle Model Merge Automation ===[79a0053d45-5710218482-1b3652] [79a0053d45-5710218482-1b3652] Step 1: Receiving main model...[79a0053d45-5710218482-1b3652] Out of memory.
it doesn’t seem to be getting much further than receiving the model automationContext Version Console.WriteLine("\nStep 1: Receiving main model...");:
/// <summary>
/// Initializes a new instance of the AutomateFunction class.
/// </summary>
/// <param name="operations">The operations service for sending/receiving Speckle objects.</param>
public AutomateFunction(IOperations operations)
{
_operations = operations ?? throw new ArgumentNullException(nameof(operations));
}
/// <summary>
/// Main function execution entry point.
/// </summary>
public async Task Run(
IAutomationContext automationContext,
FunctionInputs functionInputs
)
{
Console.WriteLine("=== Starting Speckle Model Merge Automation ===");
var stats = new ProcessingStats();
try
{
// STEP 1: Receive main context model
Console.WriteLine("\nStep 1: Receiving main model...");
Base mainModelBase = await automationContext.ReceiveVersion();
if (!(mainModelBase is Collection mainCollection))
{
automationContext.MarkRunFailed("Main model root is not a Collection");
return;
}
Console.WriteLine($"Main model: {mainCollection.name}");
Any thoughts?
Thanks
