HISE Logo Forum
    • Categories
    • Register
    • Login

    Out of heap space - again .....

    Scheduled Pinned Locked Moved General Questions
    23 Posts 5 Posters 1.6k 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.
    • ustkU
      ustk
      last edited by

      I often have a crash when loading my project (both XML and preset, because I always save both at the same time for security)
      generally, when one is crashing, the other crashes too...
      when I run my XML in a validator I get no errors.
      What I tend to do when Hise crashes loading a project, is to go in the "Main Workspace" (modules) instead of going in the "scripting/interface workspace" before loading the xml. This way I have less chance to crash...

      It seems that the crash is not due to the project itself, but an instability somewhere in Hise, generally when loading a big project... My current project has approximately 700 components in the interface, and Hise is not happy (very, very laggy on my i7-3.5GHz-32GoDDR3) when the interface window is showing up, but everything is back to normal when I only have the script/module window.

      When it crashes, it crashes with all my different build of Hise.

      Can't help pressing F5 in the forum...

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

        @ustk yes I get HISE crashing every single time I have a loaded project and then select Recent projects...

        I select another project - HISE loads it ( I think) and then crashes immediately...

        Meanwhile back at my problem...
        I've tried loading my project from everywhere I can think of --- all cases it does this "Building modules..." and never comes back...

        as I've said I really really do want all this nice new stuff, but theres some basic stuff that needs fixing first.

        HISE Development for hire.
        www.channelrobot.com

        1 Reply Last reply Reply Quote 1
        • ustkU
          ustk
          last edited by

          Agree that we need that kind of issues to be fixed, but the fact is that @Christoph-Hart doesn't know necessarily what's going on with our troubles, which doesn't help him much I guess...
          It would be cool to send the complete project folder to him so he might check our problems

          Have you tried to rise the "Compile Timeout" in Preferences/Development?

          Can't help pressing F5 in the forum...

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

            oh no, now I cant believe whats going on. I just spent the last three hours rebuilding my project for it to fail in the same way again.....it was all loading correctly then I created a sample map with the sample pre-load set = -1 and re-(hand) entered all the loop points and cross fades and now it wont load at all....

            @Christoph-Hart can I zip up my project and get you to look?

            HISE Development for hire.
            www.channelrobot.com

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

              @Lindon So the sample map loading strikes again!

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

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

                Yeah, send it over.

                LindonL 1 Reply Last reply Reply Quote 0
                • LindonL
                  Lindon @d.healey
                  last edited by Lindon

                  @d-healey yes.

                  So more investigation:

                  I have two sample maps loading - FastLeslie and SlowLeslie

                  one entry from the fast Leslie xml looks like this:

                  on entry from the slowLeslie looks like this:

                  • so the SlowLeslie has loops turned on and some pretty specific loop points and cross-fade.

                  HISE never finishes loading SlowLeslie......

                  If I copy the contents of FastLeslie to SlowLeslie, then everything loads fine....

                  So questions:

                  whats this doing? ----> Duplicate="1"

                  HISE Development for hire.
                  www.channelrobot.com

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

                    @Christoph-Hart sending...

                    HISE Development for hire.
                    www.channelrobot.com

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

                      It tells the sampler that this sample is using an existing sample so it shares the same preload buffer.

                      Try removing it using a text editor and check if it loads (then do the same thing with the "LoopEnabled" property.

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

                        I downloaded the project but there are no samples, so there's no way for me to reproduce.

                        But there are two things I notice from looking at the SampleMap:

                        1. It uses absolute paths
                        2. There's no ID

                        Not sure how you ended up with this, but it should use the {PROJECT_FOLDER} wildcard and have a valid ID when you save the map.

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

                          @Christoph-Hart HISE often saves samplemaps without an ID. Especially when other things are going weird.

                          In fact I made a thread about it - https://forum.hise.audio/topic/1297/serious-sample-map-bug

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

                          1 Reply Last reply Reply Quote 1
                          • ustkU
                            ustk
                            last edited by

                            I can confirm having the same issue, sometimes, sample maps don't have ID's or even keep a wrong one no matter what you do...

                            Can't help pressing F5 in the forum...

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

                              @Christoph-Hart OK I think I found a bug. When you set the preload size to = -1 then HISE will not load the project on start up.

                              HISE Development for hire.
                              www.channelrobot.com

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

                              28

                              Online

                              1.8k

                              Users

                              12.0k

                              Topics

                              104.7k

                              Posts