HISE Logo Forum
    • Categories
    • Register
    • Login

    Compiler is out of heap space

    Scheduled Pinned Locked Moved General Questions
    7 Posts 4 Posters 647 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • orangeO
      orange
      last edited by orange

      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?

      develop Branch / XCode 13.1
      macOS Monterey / M1 Max

      d.healeyD 1 Reply Last reply Reply Quote 0
      • d.healeyD
        d.healey @orange
        last edited by

        @orange Maximum embedded file size is 50mb I think.

        Libre Wave - Freedom respecting instruments and effects
        My Patreon - HISE tutorials
        YouTube Channel - Public HISE tutorials

        orangeO 1 Reply Last reply Reply Quote 0
        • orangeO
          orange @d.healey
          last edited by orange

          @d-healey So it should be increased because of the high resolution GUI's. Why there is a limitation of 50MB?

          develop Branch / XCode 13.1
          macOS Monterey / M1 Max

          1 Reply Last reply Reply Quote 0
          • Christoph HartC
            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).

            orangeO hisefiloH 2 Replies Last reply Reply Quote 1
            • orangeO
              orange @Christoph Hart
              last edited by orange

              @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 ;)

              develop Branch / XCode 13.1
              macOS Monterey / M1 Max

              1 Reply Last reply Reply Quote 0
              • hisefiloH
                hisefilo @Christoph Hart
                last edited by

                @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?

                hisefiloH 1 Reply Last reply Reply Quote 0
                • hisefiloH
                  hisefilo @hisefilo
                  last edited by

                  Well. Fixed. If anyone face the same issue. Splitting std::vector or arrays in multiple files not larger than 500kb is the solution

                  1 Reply Last reply Reply Quote 4
                  • First post
                    Last post

                  49

                  Online

                  1.7k

                  Users

                  11.7k

                  Topics

                  102.1k

                  Posts