Closed
Description
System information
- ML.NET Version: 1.4.0
Issue
- What did you do?
- Created a pipeline of ImageLoadingEstimator + ImageResizingEstimator + ImagePixelExtractingEstimator + OnnxScoringEstimator.
- Create a ITransformer object by fitting the pipeline.
- Performed ITransformer.Transform multiple times.
PS: Creating a PredictionEngine and performing PredictionEngine.Predict seems to lock the image as mentioned in issue 4585
- What happened?
WeakReference objects seems to accumulate.
The number of objects does not change even after performing GC.Collect()
Is this possibly a memory leak?
The application is built is Release configuration.