Open
Description
Describe the issue
We encountered a “bad allocation” error when performing sequential OCR processing using ONNX Runtime on Windows x86 CPU.
• Processing a single image multiple times works fine.
• However, processing multiple images continuously in a loop eventually leads to bad allocation.
• This suggests a possible memory leak or fragmentation issue within ONNX Runtime.
To reproduce
1. Load the image processing model using ONNX Runtime on Windows x86 CPU.
2. Process a single image successfully.
3. Process multiple images in a batch.
4. Encounter a bad allocation error.
Urgency
No response
Platform
Windows
OS Version
Windows 10
ONNX Runtime Installation
Built from Source
ONNX Runtime Version or Commit ID
1.15.0
ONNX Runtime API
C++
Architecture
X64
Execution Provider
Default CPU
Execution Provider Library Version
No response