HISE Logo Forum
    • Categories
    • Register
    • Login

    Images Takes so Much Space on RAM!!!

    Scheduled Pinned Locked Moved General Questions
    13 Posts 5 Posters 674 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.
    • NatanN
      Natan
      last edited by

      Hey folks, Hope all is well

      I Loaded 2 Images into the Images pool, 2 MB each and It turned into +100 Mb on RAM!! Why this?

      Screenshot 2023-10-12 171211.png

      Christoph HartC A 2 Replies Last reply Reply Quote 0
      • Christoph HartC
        Christoph Hart @Natan
        last edited by

        @Natan They are stored as uncompressed bitmap in memory.

        1 Reply Last reply Reply Quote 0
        • Dan KorneffD
          Dan Korneff
          last edited by

          That's not too bad. My current project hit 600mb 😆

          Dan Korneff - Producer / Mixer / Audio Nerd

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

            @Christoph-Hart @Dan-Korneff Thanks Guys, Glad I'm on safe side 🥲

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

              @Natan I wouldn't count 600MB as a reasonable upper limit for image sizes but rather Dan going crazy on the filmstrips, so "safe side" is a bit optimistic :)

              I like how I spent months of trimming the HLAC codec to bring the file size down by a few percents and allow the streaming buffers to use a smaller data type and then it's all up in smoke because of some 3D renders of a knob...

              I remember doing some experiments during the PercX development of not storing the uncompressed images but decoding the PNG image in the paint routine, but that affected the UI performance to a point where I had to roll it back.

              A 1 Reply Last reply Reply Quote 3
              • Dan KorneffD
                Dan Korneff
                last edited by

                Comparable plug-in GUI memory usage is the 150MB range, so I'm well over a reasonable limit here. My film strips are rendered in larger areas to allow space for shadows, so I'm trying to work out a better system for that right now.
                Got it down to 450MB, but I still have a ways to go.

                Dan Korneff - Producer / Mixer / Audio Nerd

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

                  @Dan-Korneff Vectors not an option?

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

                  Dan KorneffD 1 Reply Last reply Reply Quote 1
                  • Dan KorneffD
                    Dan Korneff @d.healey
                    last edited by Dan Korneff

                    @d-healey I'm looking at drawing my shadows and other elements with vectors.
                    The other issue is I render my GUI in a 3D "perspective" view, so every component needs a separate film strip.

                    Dan Korneff - Producer / Mixer / Audio Nerd

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

                      @Dan-Korneff said in Images Takes so Much Space on RAM!!!:

                      The other issue is I render my GUI in a 3D "perspective" view, so every component needs a separate film strip.

                      Yeah no getting around that.

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

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

                        @Natan Where do you see this view?

                        Christoph HartC d.healeyD 2 Replies Last reply Reply Quote 0
                        • Christoph HartC
                          Christoph Hart @aaronventure
                          last edited by

                          @aaronventure It's a floating tile called Image Pool Table

                          1 Reply Last reply Reply Quote 2
                          • d.healeyD
                            d.healey @aaronventure
                            last edited by

                            @aaronventure Add it to the custom popups thingy

                            94ed004a-b674-426b-bae0-19750d441e95-image.png

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

                            1 Reply Last reply Reply Quote 3
                            • A
                              aaronventure @Christoph Hart
                              last edited by

                              @Christoph-Hart would it make sense to enable this for backgrounds only? i.e. have the ability to turn it on for a panel or whatever. If I have 5 background images in a vsti, 20MB each althrough the are never all shown at the same time but change depending on parameters, each VSTi load takes up 100MB of ram just for the backgrounds?

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

                              46

                              Online

                              1.7k

                              Users

                              11.7k

                              Topics

                              101.8k

                              Posts