Compiler is out of heap space
I'm getting "Compiler is out of heap space" error while compiling a fx plugin.
I'm using 10 different 400x29600 px (10 x 11 MB) size high res image strips for knobs. If I use lower size images it doesn't give this error. Actually I am making a resizable GUI for retina display (4K).
Can we increase this value or is it a dangerous thing to use large images?
d.healey last edited by
@orange Maximum embedded file size is 50mb I think.
@d-healey So it should be increased because of the high resolution GUI's. Why there is a limitation of 50MB?
Christoph Hart last edited by
Google Visual Studio +
/bigobj. But be aware that using images that big will use a lot of memory when the plugin is loaded because the images are stored uncompressed in memory (in your case, I am guessing 500-600MB).
@Christoph-Hart Ok, that's what I want to know. So I shouldn't increase this limitation value.
I guess I will use those picture optimization tools that reduces file size with a little lossy compression. Thank you so much