UpdateSuplliersLinkProductByEanCode.UpdateSuplliersLinkProductsByEanCode

// Id: #140464
using Warehouse.Inventory.Api.Schedules;

var updateSuplliersLinkProductByEanCode = Activate<UpdateSuplliersLinkProductByEanCode>();
await updateSuplliersLinkProductByEanCode.UpdateSuplliersLinkProductsByEanCode(null);

Parameters

RetryCount
10
RecurringJobId
"Vincular-Produto-EanCode-Omie"
Time
1751352004
CurrentCulture
""
CurrentUICulture
""

State

07/01/2025 11:14:37 (+26.097s) 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_method4538(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.GetByWithoutEanCode() in /src/src/Warehouse.Inventory.Data/Repositories/SupplierInvoiceRepository.cs:line 153
   at Warehouse.Inventory.Application.Handlers.Suppliers.UpdateLinkProductByEanCodeCommandHandler.Handle(UpdateLinkProductByEanCodeCommand request, CancellationToken cancellationToken) in /src/src/Warehouse.Inventory.Application/Handlers/Suppliers/UpdateLinkProductByEanCodeCommandHandler.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.UpdateSuplliersLinkProductByEanCode.UpdateSuplliersLinkProductsByEanCode(PerformContext context) in /src/src/Warehouse.Inventory.Api/Schedules/UpdateSuplliersLinkProductByEanCode.cs:line 28
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+308ms Processing

Server:
dashboard warehouse_inventory:1
Worker:
681ce884

+1h 49m Enqueued

Triggered by DelayedJobScheduler

+72ms Scheduled

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

Enqueue at:
07/01/2025 11:14:04

+4.388s 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 lambda_method4538(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.GetByWithoutEanCode() in /src/src/Warehouse.Inventory.Data/Repositories/SupplierInvoiceRepository.cs:line 153
   at Warehouse.Inventory.Application.Handlers.Suppliers.UpdateLinkProductByEanCodeCommandHandler.Handle(UpdateLinkProductByEanCodeCommand request, CancellationToken cancellationToken) in /src/src/Warehouse.Inventory.Application/Handlers/Suppliers/UpdateLinkProductByEanCodeCommandHandler.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.UpdateSuplliersLinkProductByEanCode.UpdateSuplliersLinkProductsByEanCode(PerformContext context) in /src/src/Warehouse.Inventory.Api/Schedules/UpdateSuplliersLinkProductByEanCode.cs:line 28
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+77ms Processing

Server:
dashboard warehouse_inventory:1
Worker:
681ce884

+1h 9m Enqueued

Triggered by DelayedJobScheduler

+52ms Scheduled

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

Enqueue at:
07/01/2025 09:24:06

+25.435s 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.Threading.ExecutionContext.SetLocalValue(IAsyncLocal local, Object newValue, Boolean needChangeNotifications)
   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.GetByWithoutEanCode() in /src/src/Warehouse.Inventory.Data/Repositories/SupplierInvoiceRepository.cs:line 191
   at Warehouse.Inventory.Application.Handlers.Suppliers.UpdateLinkProductByEanCodeCommandHandler.Handle(UpdateLinkProductByEanCodeCommand request, CancellationToken cancellationToken) in /src/src/Warehouse.Inventory.Application/Handlers/Suppliers/UpdateLinkProductByEanCodeCommandHandler.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.UpdateSuplliersLinkProductByEanCode.UpdateSuplliersLinkProductsByEanCode(PerformContext context) in /src/src/Warehouse.Inventory.Api/Schedules/UpdateSuplliersLinkProductByEanCode.cs:line 28
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+86ms Processing

Server:
dashboard warehouse_inventory:1
Worker:
e77a2685

+42m 53.775s Enqueued

Triggered by DelayedJobScheduler

+16ms Scheduled

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

Enqueue at:
07/01/2025 08:14:19

+11.841s 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.Collections.Generic.Dictionary`2.Resize(Int32 newSize, Boolean forceNewHashCodes)
   at System.Collections.Generic.Dictionary`2.TryInsert(TKey key, TValue value, InsertionBehavior behavior)
   at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 comparer)
   at Warehouse.Inventory.Data.Repositories.SupplierInvoiceRepository.GetByWithoutEanCode() in /src/src/Warehouse.Inventory.Data/Repositories/SupplierInvoiceRepository.cs:line 174
   at Warehouse.Inventory.Application.Handlers.Suppliers.UpdateLinkProductByEanCodeCommandHandler.Handle(UpdateLinkProductByEanCodeCommand request, CancellationToken cancellationToken) in /src/src/Warehouse.Inventory.Application/Handlers/Suppliers/UpdateLinkProductByEanCodeCommandHandler.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.UpdateSuplliersLinkProductByEanCode.UpdateSuplliersLinkProductsByEanCode(PerformContext context) in /src/src/Warehouse.Inventory.Api/Schedules/UpdateSuplliersLinkProductByEanCode.cs:line 28
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+29ms Processing

Server:
dashboard warehouse_inventory:1
Worker:
bb321450

+25m 15.625s Enqueued

Triggered by DelayedJobScheduler

+47ms Scheduled

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

Enqueue at:
07/01/2025 07:31:11

+14.905s 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.Collections.Generic.Dictionary`2.Resize(Int32 newSize, Boolean forceNewHashCodes)
   at System.Collections.Generic.Dictionary`2.TryInsert(TKey key, TValue value, InsertionBehavior behavior)
   at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 comparer)
   at Warehouse.Inventory.Data.Repositories.SupplierInvoiceRepository.GetByWithoutEanCode() in /src/src/Warehouse.Inventory.Data/Repositories/SupplierInvoiceRepository.cs:line 174
   at Warehouse.Inventory.Application.Handlers.Suppliers.UpdateLinkProductByEanCodeCommandHandler.Handle(UpdateLinkProductByEanCodeCommand request, CancellationToken cancellationToken) in /src/src/Warehouse.Inventory.Application/Handlers/Suppliers/UpdateLinkProductByEanCodeCommandHandler.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.UpdateSuplliersLinkProductByEanCode.UpdateSuplliersLinkProductsByEanCode(PerformContext context) in /src/src/Warehouse.Inventory.Api/Schedules/UpdateSuplliersLinkProductByEanCode.cs:line 28
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+126ms Processing

Server:
dashboard warehouse_inventory:1
Worker:
c1e5e39d

+11m 53.856s Enqueued

Triggered by DelayedJobScheduler

+12ms Scheduled

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

Enqueue at:
07/01/2025 07:05:47

+5.998s 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_method4538(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.GetByWithoutEanCode() in /src/src/Warehouse.Inventory.Data/Repositories/SupplierInvoiceRepository.cs:line 153
   at Warehouse.Inventory.Application.Handlers.Suppliers.UpdateLinkProductByEanCodeCommandHandler.Handle(UpdateLinkProductByEanCodeCommand request, CancellationToken cancellationToken) in /src/src/Warehouse.Inventory.Application/Handlers/Suppliers/UpdateLinkProductByEanCodeCommandHandler.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.UpdateSuplliersLinkProductByEanCode.UpdateSuplliersLinkProductsByEanCode(PerformContext context) in /src/src/Warehouse.Inventory.Api/Schedules/UpdateSuplliersLinkProductByEanCode.cs:line 28
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+60ms Processing

Server:
dashboard warehouse_inventory:1
Worker:
681ce884

+5m 51.173s Enqueued

Triggered by DelayedJobScheduler

+12ms Scheduled

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

Enqueue at:
07/01/2025 06:53:49

+10.763s 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.Collections.Generic.Dictionary`2.Resize(Int32 newSize, Boolean forceNewHashCodes)
   at System.Collections.Generic.Dictionary`2.TryInsert(TKey key, TValue value, InsertionBehavior behavior)
   at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 comparer)
   at Warehouse.Inventory.Data.Repositories.SupplierInvoiceRepository.GetByWithoutEanCode() in /src/src/Warehouse.Inventory.Data/Repositories/SupplierInvoiceRepository.cs:line 174
   at Warehouse.Inventory.Application.Handlers.Suppliers.UpdateLinkProductByEanCodeCommandHandler.Handle(UpdateLinkProductByEanCodeCommand request, CancellationToken cancellationToken) in /src/src/Warehouse.Inventory.Application/Handlers/Suppliers/UpdateLinkProductByEanCodeCommandHandler.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.UpdateSuplliersLinkProductByEanCode.UpdateSuplliersLinkProductsByEanCode(PerformContext context) in /src/src/Warehouse.Inventory.Api/Schedules/UpdateSuplliersLinkProductByEanCode.cs:line 28
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+66ms Processing

Server:
dashboard warehouse_inventory:1
Worker:
c1e5e39d

+3m 31.970s Enqueued

Triggered by DelayedJobScheduler

+11ms Scheduled

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

Enqueue at:
07/01/2025 06:47:47

+13.145s 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.Collections.Generic.Dictionary`2.Resize(Int32 newSize, Boolean forceNewHashCodes)
   at System.Collections.Generic.Dictionary`2.TryInsert(TKey key, TValue value, InsertionBehavior behavior)
   at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 comparer)
   at Warehouse.Inventory.Data.Repositories.SupplierInvoiceRepository.GetByWithoutEanCode() in /src/src/Warehouse.Inventory.Data/Repositories/SupplierInvoiceRepository.cs:line 174
   at Warehouse.Inventory.Application.Handlers.Suppliers.UpdateLinkProductByEanCodeCommandHandler.Handle(UpdateLinkProductByEanCodeCommand request, CancellationToken cancellationToken) in /src/src/Warehouse.Inventory.Application/Handlers/Suppliers/UpdateLinkProductByEanCodeCommandHandler.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.UpdateSuplliersLinkProductByEanCode.UpdateSuplliersLinkProductsByEanCode(PerformContext context) in /src/src/Warehouse.Inventory.Api/Schedules/UpdateSuplliersLinkProductByEanCode.cs:line 28
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+63ms Processing

Server:
dashboard warehouse_inventory:1
Worker:
c1e5e39d

+2m 1.317s Enqueued

Triggered by DelayedJobScheduler

+8ms Scheduled

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

Enqueue at:
07/01/2025 06:43:55

+13.673s 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.Collections.Generic.Dictionary`2.Resize(Int32 newSize, Boolean forceNewHashCodes)
   at System.Collections.Generic.Dictionary`2.TryInsert(TKey key, TValue value, InsertionBehavior behavior)
   at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 comparer)
   at Warehouse.Inventory.Data.Repositories.SupplierInvoiceRepository.GetByWithoutEanCode() in /src/src/Warehouse.Inventory.Data/Repositories/SupplierInvoiceRepository.cs:line 174
   at Warehouse.Inventory.Application.Handlers.Suppliers.UpdateLinkProductByEanCodeCommandHandler.Handle(UpdateLinkProductByEanCodeCommand request, CancellationToken cancellationToken) in /src/src/Warehouse.Inventory.Application/Handlers/Suppliers/UpdateLinkProductByEanCodeCommandHandler.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.UpdateSuplliersLinkProductByEanCode.UpdateSuplliersLinkProductsByEanCode(PerformContext context) in /src/src/Warehouse.Inventory.Api/Schedules/UpdateSuplliersLinkProductByEanCode.cs:line 28
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+74ms Processing

Server:
dashboard warehouse_inventory:1
Worker:
c1e5e39d

+54.657s Enqueued

Triggered by DelayedJobScheduler

+5ms Scheduled

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

Enqueue at:
07/01/2025 06:41:44

+3.451s 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.Collections.Generic.List`1.set_Capacity(Int32 value)
   at System.Collections.Generic.List`1.AddWithResize(T item)
   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.GetByWithoutEanCode() in /src/src/Warehouse.Inventory.Data/Repositories/SupplierInvoiceRepository.cs:line 153
   at Warehouse.Inventory.Application.Handlers.Suppliers.UpdateLinkProductByEanCodeCommandHandler.Handle(UpdateLinkProductByEanCodeCommand request, CancellationToken cancellationToken) in /src/src/Warehouse.Inventory.Application/Handlers/Suppliers/UpdateLinkProductByEanCodeCommandHandler.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.UpdateSuplliersLinkProductByEanCode.UpdateSuplliersLinkProductsByEanCode(PerformContext context) in /src/src/Warehouse.Inventory.Api/Schedules/UpdateSuplliersLinkProductByEanCode.cs:line 28
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+11ms Processing

Server:
dashboard warehouse_inventory:1
Worker:
681ce884

+40.334s Enqueued

Triggered by DelayedJobScheduler

+4ms Scheduled

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

Enqueue at:
07/01/2025 06:40:48

+4.519s 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 lambda_method4538(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.GetByWithoutEanCode() in /src/src/Warehouse.Inventory.Data/Repositories/SupplierInvoiceRepository.cs:line 153
   at Warehouse.Inventory.Application.Handlers.Suppliers.UpdateLinkProductByEanCodeCommandHandler.Handle(UpdateLinkProductByEanCodeCommand request, CancellationToken cancellationToken) in /src/src/Warehouse.Inventory.Application/Handlers/Suppliers/UpdateLinkProductByEanCodeCommandHandler.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.UpdateSuplliersLinkProductByEanCode.UpdateSuplliersLinkProductsByEanCode(PerformContext context) in /src/src/Warehouse.Inventory.Api/Schedules/UpdateSuplliersLinkProductByEanCode.cs:line 28
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+125ms Processing

Server:
dashboard warehouse_inventory:1
Worker:
81a7b3ab

+7ms Enqueued

Triggered by recurring job scheduler

07/01/2025 06:40:04 Created