HISE Logo Forum
    • Categories
    • Register
    • Login

    Huge Memory usage while building (big) instrument

    Scheduled Pinned Locked Moved General Questions
    7 Posts 4 Posters 305 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.
    • Matt_SFM
      Matt_SF
      last edited by

      It's not the first time I'm seeing this but, since I'm here I thought I'll create a topic.

      I'm building a rather big instrument (16 samplers, envelopes and effects everywhere). But when I have to make some changes (deleting or adding modules), the RAM consumption reaches a point where I have to qui HISE and run it again to continue my work.

      Here's an image of a few steps I took and the RAM usage after thoses steps.

      8586e2cc-4c12-4a0c-85e1-edf78bef83cc-image.png

      I know my project is big but is HISE supposed to use this much memory ?
      Cheers

      Develop branch
      Win10 & VS17 / Ventura & Xcode 14. 3

      d.healeyD clevername27C 2 Replies Last reply Reply Quote 1
      • d.healeyD
        d.healey @Matt_SF
        last edited by

        @Matt_SF Do you have a lot of images in the project?

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

        Matt_SFM 1 Reply Last reply Reply Quote 0
        • Matt_SFM
          Matt_SF @d.healey
          last edited by

          @d-healey no, 2 or 3 images of around 1MB size. I'm mainly using LAF for the design.
          Also, the samplers I have are limited to 2 voices (it's a drums instrument)

          Develop branch
          Win10 & VS17 / Ventura & Xcode 14. 3

          A 1 Reply Last reply Reply Quote 0
          • A
            aaronventure @Matt_SF
            last edited by

            @Matt_SF is your voice count trimmed?

            Anyway, looks weird, like some sort of memory bleed caused by undo history.

            Matt_SFM 1 Reply Last reply Reply Quote 0
            • Matt_SFM
              Matt_SF @aaronventure
              last edited by

              @aaronventure No, apparently there's no problem with the voice count.
              It looks like a memory leeak, but it's weird no one reported this before...
              (I'm using the latest commit of the develop branch BTW)

              Develop branch
              Win10 & VS17 / Ventura & Xcode 14. 3

              1 Reply Last reply Reply Quote 0
              • clevername27C
                clevername27 @Matt_SF
                last edited by

                @Matt_SF You know a lot of developers would be proud of having huge memory and a big instrument. I'm not helpful.

                Matt_SFM 1 Reply Last reply Reply Quote 2
                • Matt_SFM
                  Matt_SF @clevername27
                  last edited by

                  @clevername27 said in Huge Memory usage while building (big) instrument:

                  @Matt_SF You know a lot of developers would be proud of having huge memory and a big instrument. I'm not helpful.

                  :face_with_tears_of_joy: :face_with_tears_of_joy: :face_with_tears_of_joy:

                  Develop branch
                  Win10 & VS17 / Ventura & Xcode 14. 3

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

                  9

                  Online

                  1.7k

                  Users

                  11.9k

                  Topics

                  103.5k

                  Posts