Compiler is out of heap space
-
Hi
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?
-
@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?
-
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 ;) -
@Christoph-Hart hi man!!! Just facing this issue. Im using the Raw C++Api and really huge vectors. MacOs compiled like a charm. VS complaining. /bigobj is not enough I guess. Any idea?
-
Well. Fixed. If anyone face the same issue. Splitting std::vector or arrays in multiple files not larger than 500kb is the solution