UpdateSuplliersLinkProduct.UpdateSuplliersLinkProducts

The job is finished. It will be removed automatically 07/05/2025 06:06:44.
// Id: #140964
using Warehouse.Inventory.Api.Schedules;

var updateSuplliersLinkProduct = Activate<UpdateSuplliersLinkProduct>();
await updateSuplliersLinkProduct.UpdateSuplliersLinkProducts(null);

Parameters

RecurringJobId
"VincularProduto-Omie"
Time
1751609100
CurrentCulture
""
CurrentUICulture
""
RetryCount
1

State

07/04/2025 06:06:44 (+53.848s) Succeeded

Latency:
50.635s
Duration:
53.831s

+14ms Processing

Server:
dashboard warehouse_inventory:1
Worker:
4681d7fa

+29.245s Enqueued

Triggered by DelayedJobScheduler

+5ms Scheduled

Retry attempt 1 of 10: Exception of type 'System.OutOfMemoryException' w…

Enqueue at:
07/04/2025 06:05:50

+21.222s Failed

An exception occurred during performance of the job.

System.OutOfMemoryException (dashboard warehouse_inventory:1)

Exception of type 'System.OutOfMemoryException' was thrown.

System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
   at System.String.CreateStringFromEncoding(Byte* bytes, Int32 byteLength, Encoding encoding)
   at System.Text.Encoding.GetString(ReadOnlySpan`1 bytes)
   at System.Text.EncodingExtensions.GetString(Encoding encoding, ReadOnlySequence`1& bytes)
   at Npgsql.NpgsqlDataReader.GetFieldValueCore[T](Int32 ordinal)
   at lambda_method11358(Closure, QueryContext, DbDataReader, ResultContext, SingleQueryResultCoordinator)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
   at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ToListAsync[TSource](IQueryable`1 source, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ToListAsync[TSource](IQueryable`1 source, CancellationToken cancellationToken)
   at Warehouse.Inventory.Data.Repositories.SupplierInvoiceRepository.GetByCnpjs(IEnumerable`1 cnpjs) in /src/src/Warehouse.Inventory.Data/Repositories/SupplierInvoiceRepository.cs:line 133
   at Warehouse.Inventory.Application.Handlers.Suppliers.UpdateLinkProductCommandHandler.Handle(UpdateLinkProductCommand request, CancellationToken cancellationToken) in /src/src/Warehouse.Inventory.Application/Handlers/Suppliers/UpdateLinkProductCommandHandler.cs:line 29
   at Mottu.Zika.Core.Validation.CommandPipelineValidationBehavior`2.Handle(TRequest request, RequestHandlerDelegate`1 next, CancellationToken cancellationToken)
   at Mottu.Zika.Core.Mediator.MediatorHandler.SendCommand[T,TResponse](T command, CancellationToken cancellationToken)
   at Warehouse.Inventory.Api.Schedules.UpdateSuplliersLinkProduct.UpdateSuplliersLinkProducts(PerformContext context) in /src/src/Warehouse.Inventory.Api/Schedules/UpdateSuplliersLinkProduct.cs:line 28
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+65ms Processing

Server:
dashboard warehouse_inventory:1
Worker:
1e4e4dd1

+77ms Enqueued

Triggered by recurring job scheduler

07/04/2025 06:05:00 Created