HISE Logo Forum
    • Categories
    • Register
    • Login

    compiler is out of heap space...

    Scheduled Pinned Locked Moved General Questions
    9 Posts 5 Posters 1.2k 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

      Hello I'm getting this error one of my plugins while compiling (in Windows)
      I have 12 GB RAM. Why it does that?

      include_juce_product_unlocking.cpp
      d:\ortak\vocalFX\binaries\source\presetdata.cpp(779906): fatal error C1060: compiler is out of heap space
      Done building project "vocalFX_SharedCode.vcxproj" -- FAILED.
      

      develop Branch / XCode 13.1
      macOS Monterey / M1 Max

      1 Reply Last reply Reply Quote 0
      • Christoph HartC
        Christoph Hart
        last edited by

        Your binary resources are too big, you need to exclude the audio files and images from your plugin. Set Embed AudioFiles in Plugin to false in the project properties.

        orangeO 1 Reply Last reply Reply Quote 0
        • orangeO
          orange @Christoph Hart
          last edited by orange

          @christoph-hart
          I have IR samples only. And it they take only 1,74 MB. If I say "Embed AudioFiles in Plugin to false " so how can I adress them for the user's usage in their computers?

          Also microsoft site says that I should use the 64bit Visual Studio Toolset for compiling. And procedure is this:

          https://msdn.microsoft.com/en-us/library/yz7kx3y2.aspx

          Is it might be about that?

          By the way I can compile my project on Mac and plugin works good...

          develop Branch / XCode 13.1
          macOS Monterey / M1 Max

          resonantR 1 Reply Last reply Reply Quote 0
          • resonantR
            resonant @orange
            last edited by resonant

            @orange If your files have that small amount, it shouldn't do that.
            Do you have other files that you don't use in the project's Audio folder? If yes, move them to out of your project folder. Because even if you don't use them; they uses heap space in VS.

            1 Reply Last reply Reply Quote 0
            • Christoph HartC
              Christoph Hart
              last edited by

              Images also get embedded. As soon as you have more than ~50MB of images and audio files the compiler on Windows chokes.

              Just read the help on the EmbedAudioFiles property it‘s all there.

              1 Reply Last reply Reply Quote 0
              • orangeO
                orange
                last edited by

                @Christoph-Hart @remarkablex
                I have a referance audio track (30MB wav) for designing fx plugins in Audio folder. I don't use this audio file in plugins, just using for monitoring sound. I removed it out of the project folder, then boom, it works. Thank you :)

                develop Branch / XCode 13.1
                macOS Monterey / M1 Max

                1 Reply Last reply Reply Quote 0
                • Christoph HartC
                  Christoph Hart
                  last edited by

                  Actually the Visual Studio command line compiler is using the 32bit toolset by default, which limits the memory usage to 3GB (which is weird).

                  I've changed it so from now on you have more resources. However it won't save you from embedding a 30MB audio file into your plugin for no reason :)

                  1 Reply Last reply Reply Quote 1
                  • NatanN
                    Natan
                    last edited by

                    @Christoph-Hart said in compiler is out of heap space...:

                    on you have more resources. However it won't save you from embedding a 30MB audio file into your plugin for no reason

                    Can we Embed Audio Files Around 100 To 200 Mb?

                    LindonL 1 Reply Last reply Reply Quote 0
                    • LindonL
                      Lindon @Natan
                      last edited by

                      @Natan nope not in my experience..

                      HISE Development for hire.
                      www.channelrobot.com

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

                      53

                      Online

                      1.7k

                      Users

                      11.7k

                      Topics

                      102.1k

                      Posts