shapez-vortex icon indicating copy to clipboard operation
shapez-vortex copied to clipboard

Browser running out of memory while uploading a blueprint

Open FloPinguin opened this issue 10 months ago • 2 comments

I tried to upload a blueprint of my build-everything-machine (598 KB). I think the blueprint previewer can't handle the size and causes the browser (Chrome) to hang until I get an out of memory error from chrome. A possible solution would be: Providing an option to disable the previewer on the upload page / for larger blueprints.

I am a bit surprised that I couldn't find an issue from somebody else here with the same problem

FloPinguin avatar Feb 20 '25 21:02 FloPinguin

Hi @FloPinguin,

thank you for reporting this issue! The preview is also used to create an image of your blueprint when submitting the upload form. I could add a toggle to make this step optional but still default to true. I could also add a check for the size of the blueprint to only render it to a certain size. There is currently no limitation or optimization and the performance does not scale well.

What do you think about that?

DontMash avatar Feb 24 '25 19:02 DontMash

This will be fixed in #99.

DontMash avatar Apr 09 '25 13:04 DontMash