Skip to content

Memory Leak in Onnx Session Release [Web]  #21673

@kishorekaruppusamy

Description

@kishorekaruppusamy

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)

Metadata

Metadata

Assignees

Labels

performanceissues related to performance regressionsplatform:webissues related to ONNX Runtime web; typically submitted using template

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions