onnxruntime icon indicating copy to clipboard operation
onnxruntime copied to clipboard

Memory Leak in Onnx Session Release [Web]

Open kishorekaruppusamy opened this issue 6 months ago • 0 comments

Describe the issue

memory leak is found after doing session.release()

image

To reproduce

npm install -g memlab

unzip the zip file provided below and run index.html in some server and return that url in url() function in scenario_file.js

and just run

memlab run --scenario scenario_file.js
memlab find-leaks --trace-all-objects

you can see the leaks

image

Archive.zip

Urgency

Very Urgent Need this Fix For complete my project

ONNX Runtime Installation

Released Package

ONNX Runtime Version or Commit ID

1.18.0

Execution Provider

'wasm'/'cpu' (WebAssembly CPU)

kishorekaruppusamy avatar Aug 08 '24 13:08 kishorekaruppusamy