Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    Memory leak after plugin migration R16 -> R20

    Cinema 4D SDK
    4
    14
    2.6k
    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.
    • M
      m_adam
      last edited by m_adam

      Hi Daniel, thanks for sending this.

      Unfortunately, I'm not able to reproduce it.
      What's your OS? Windows, Mac? What's your exact version of Cinema 4D? You can find it in the bottom of about windows in the Help menu.

      Did you load a specific scene? Did you do something special in Cinema 4D (like creating an object, material?)
      Do you have any custom nodal materiel preset?

      Thanks in advance,
      Cheers.

      MAXON SDK Specialist

      Development Blog, MAXON Registered Developer

      1 Reply Last reply Reply Quote 0
      • C4DSC
        C4DS
        last edited by C4DS

        Windows 8.1 running Cinema 4D Studio R20.030 (RB257898).
        Just started C4D from Visual Studio (2015).
        Default scene, with Live Selection tool active.
        No objects, no materials, no plugins.
        Didn't do anything in Cinema 4D, then just closed the application.

        R20 was installed without content, only program and help documentation.
        The only thing I did after clean install, was set the "Highlight new features" in preferences to "Off". Select the Live Selection tool and then "Window > Customization > Set as Default scene".
        I also have created a few custom palettes and saved the custom Layout as startup Layout.

        Apart from this, the install is clean ... and never used, apart from starting from Visual Studio to test out some CommandData/GeDialog plugins.

        1 Reply Last reply Reply Quote 0
        • M
          m_adam
          last edited by

          Hi C4DS, unfortunately, I'm still not able to reproduce it, is it possible for you to share the Layout and Palette File?

          Cheers,
          Maxime.

          MAXON SDK Specialist

          Development Blog, MAXON Registered Developer

          1 Reply Last reply Reply Quote 0
          • C4DSC
            C4DS
            last edited by

            Maxime,

            I deleted all layouts, deleted all preferences, removed the new.c4d file.
            All, except the installed updates. My Cinema 4D install should now be equal to a fully clean install.

            Still have that same oneliner memory leak just starting Cinema 4D from Visual Studio 2015 (Express), and closing application without performing any action.

            1 Reply Last reply Reply Quote 0
            • B
              Boony2000
              last edited by

              Not that this is any help, but I'm currently also looking into some other memory leak issues and I get the same leak when running a clean Cinema R20.026.

              1 Reply Last reply Reply Quote 1
              • M
                m_adam
                last edited by

                First of all, happy new year to both of you.

                Regarding the issue, thanks a lot for confirming it, despite I'm still not able to reproduce it. I will ask you to wait until my other colleagues come back from their well deserved holiday to do more tests on this topic.

                Cheers,
                Maxime.

                MAXON SDK Specialist

                Development Blog, MAXON Registered Developer

                1 Reply Last reply Reply Quote 1
                • r_giganteR
                  r_gigante
                  last edited by

                  Hi Daniel, thanks for following up.

                  I've tried to match as much as possible your devenv but I confirm what reported by @m_adam and I can't replicate the behavior.

                  My setup is:

                  • Windows 8.1 version 6.3 (Build 9600)

                  • Microsoft Visual Studio Express 2015 for Windows Desktop
                    Version 14.0.25431.01 Update 3

                  • Microsoft .NET Framework
                    Version 4.7.03062

                  • Common Azure Tools 1.8
                    Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.

                  • NuGet Package Manager 3.4.4
                    NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.

                  • SQL Server Data Tools 14.0.60519.0
                    Microsoft SQL Server Data Tools

                  I apologize for not being more helpful but without a more detailed scenario letting us to replicate the issue we can't be of any further help here.

                  Best, Riccardo

                  1 Reply Last reply Reply Quote 1
                  • C4DSC
                    C4DS
                    last edited by

                    Hi Riccardo,

                    I have all the same version as you mentioned except for .NET
                    I am currently on 4.7.02558

                    1 Reply Last reply Reply Quote 0
                    • r_giganteR
                      r_gigante
                      last edited by

                      Hi Daniel,

                      I'm actually running out of ideas here. Can you try to install Cinema from scratch in a different folder and see if it the behavior persists?

                      Cheers, Riccardo

                      1 Reply Last reply Reply Quote 2
                      • C4DSC
                        C4DS
                        last edited by

                        It will take a while before I find the time to install from scratch.
                        I am in the middle of a project, and don't want to risk anything on this machine right now.
                        But I'll leave the topic open for now and come back when I have more to report.

                        1 Reply Last reply Reply Quote 1
                        • r_giganteR
                          r_gigante
                          last edited by

                          Thanks Daniel, look forward your further tests.

                          Best, Riccardo

                          C4DSC 1 Reply Last reply Reply Quote 1
                          • C4DSC
                            C4DS @r_gigante
                            last edited by

                            @r_gigante
                            Have finally got the chance to install from scratch. But I didn't try with the original install, and upgraded directly to R20.057 before testing. Could not reproduce the problem on this new install.
                            However, the problem persisted on the other installed R20.030.
                            I updated that version as well to R20.057 and with that the memory leak cannot be reproduced anymore.

                            I am setting this topic to solved as the update seems to fix the issue.

                            1 Reply Last reply Reply Quote 0
                            • r_giganteR
                              r_gigante
                              last edited by

                              Thanks a lot Daniel for following up here.

                              Glad to listen that the update actually fixed it, although even on 20.030 I had no better luck to reproduce.

                              Best, Riccardo

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