microsoft / microsoft/onnxruntime
Memory Leak in Onnx Session Release [Web]
- Dominant language
- C++
- Stars
- 21.9k
- Forks
- 4.2k
- Avg merge
- 4d 11h
- Merged PRs (30d)
- 184
Description
### Describe the issue
memory leak is found after doing `session.release()`

### 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

[Archive.zip](https://github.com/user-attachments/files/16548882/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)
Contributor guide
Assessment
This issue has not been assessed yet.