h2non / imaginary

Fast, simple, scalable, Docker-ready HTTP microservice for high-level image processing
https://fly.io/docs/app-guides/run-a-global-image-service/
MIT License
5.5k stars 455 forks source link

Docker keeps throwing (VMAllocationTracker.cpp:137 vm_allocation_info_for_address) #425

Open maitrungduc1410 opened 4 months ago

maitrungduc1410 commented 4 months ago

When I run Imaginary with Docker, it keeps throwing this error very frequently and exits:

imaginary-1  | assertion failed [node != nullptr]: There is a hole in the VmTracker tree at address 0xffffffffffffffeb
imaginary-1  | (VMAllocationTracker.cpp:137 vm_allocation_info_for_address)

I have already set MALLOC_ARENA_MAX. And I'm using Macbook M2, and my image list has just 14 items, I load them all at once on page load. The issue happens in just few reloads (not continuously reloads but wait sometime)

maitrungduc1410 commented 4 months ago

Even when I add lazy load from frontend and just load 2 images at once, it still throw the error and exit

Said-Ait-Driss commented 3 months ago

https://github.com/Said-Ait-Driss/resizer

maitrungduc1410 commented 3 months ago

I ended up using Imgproxy which is stable and working perfectly