Memory allocation issue

Forums 💬 FlowCanvas ⚙️ Support Memory allocation issue

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #21775
    ccastroy
    Participant

      Hello, I made a simple rotating cube via input and noticed its allocating 0.8 kb per frame (when button is pressed). Its related to IMGUI calls, my guess is that this happens when updating the graph for live debugging.

      But the issue I see is that when building to stand alone, its still allocating the same memory with IMGUI calls. Should this happen? Is this normal? I’m attaching screen shots.

      #21778
      Gavalakis
      Keymaster

        Hello,

        Hmm.. This is certainly not normal since there is no IMGUI related calls other than an OnGUI method in MonoManager.cs file, but it would certainly not allocate anything that close if at all.
        Are you certain that this comes from FlowCanvas and not some other script/asset in your project?
        Just to make sure of that, can you please try and comment out (or delete) the ‘OnGUI’ method in MonoManager.cs at line #85 completely?

        Thank you.

        #21777
        ccastroy
        Participant

          Awesome!, zero allocations with OnGUI method removed from MonoManager. Will I miss something because I remove that method?

          This is great, I get tons of memory allocations and 10x-12x more cpu usage using Bolt with this same flow. I will stick with Flow Canvas and will consider Node Canvas.

          #21776
          Gavalakis
          Keymaster

            Great 🙂
            Thanks for letting me know! You aren’t really missing -anything at all- by doing that change.
            As a matter of fact, I am going to do this change as well for the next version coming soon around 🙂

            Thank you!

          Viewing 4 posts - 1 through 4 (of 4 total)
          • You must be logged in to reply to this topic.