Jump to content

When creating a render with a huge output size, leadwerks crashes


Go to solution Solved by Josh,

Recommended Posts

Posted

Video recorded on 0.9.9 stable build 2740. I did also test this on standalone dev build 2879 and got the same results.

 

When creating a render with a huge output size (100k x 100k as in the video example) leadwerks crashes with the message "Runtime Error: Buffer resize error (80000000000)" and this message seems to be the same every time.

Also tried with 50k x 50k output size. Leadwerks didn't crash, but it used all my memory and windows closed it for not responding.Screenshot2025-07-28011822.png.65f3f2b4ecc5d39b31f02191155d75d1.png

 

This might be bad if people start to play with the render tool with unsaved progress, as this crashes the editor.

A fix for this would be setting a limit/clamping the output size to something reasonable, so it wouldn't crash or freeze.

  • Solution
Posted

That's not really a bug, just your computer running out of memory. A 100,000 x 100,000 RGBA image would require 37.25 Gigabytes of continguous memory.

Let's build cool stuff and have fun. :)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...