// Id: #140964
using Warehouse.Inventory.Api.Schedules;
var updateSuplliersLinkProduct = Activate<UpdateSuplliersLinkProduct>();
await updateSuplliersLinkProduct.UpdateSuplliersLinkProducts(null);
RecurringJobId |
|
Time |
|
CurrentCulture |
|
CurrentUICulture |
|
RetryCount |
|
Triggered by DelayedJobScheduler
Retry attempt 1 of 10: Exception of type 'System.OutOfMemoryException' w…
An exception occurred during performance of the job.
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)
Triggered by recurring job scheduler