ComposeGears/Valkyrie

OOM when generating IconPack using the dir contains huge SVG files

Closed this issue · 3 comments

Open IconPack and set the other options, then pick dir as input, no response occurs. I remember this behavior works on my x64 Mac, but it's not working on Apple Silicon Mac now. OOM related issues have been reported from IDEA:

The IDE ran out of available memory. Please consider increasing the value of "Maximum Heap Size" setting.

I can repro this from market version 0.3.0 and 0.3.1 from the latest build, and they are not working for IDEA 2024.1, 2024.2 Beta, and AS 2024.1.3.

Screen.Recording.2024-07-22.at.17.45.51.mov

The root cause is OOM, there are 5500+ SVG files under https://github.com/LawnchairLauncher/lawnicons/tree/develop/svgs

image

Nice case 😄
Will see what we can do. Maybe OOM reason is creating Painter

yes, it's a reason

Screen.Recording.2024-07-22.at.14.34.23.mov