Announcement

Collapse
No announcement yet.

(Fixed) [HOU-1792] memory tracking in vfh?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • (Fixed) [HOU-1792] memory tracking in vfh?

    do we have memory tracking in vfh?

    https://docs.chaosgroup.com/display/...emory+Tracking

    Regards Alexis
    Last edited by Gosho.Genchev; 06-04-2020, 06:43 AM.
    http://goodbyekansasstudios.com/

  • #2
    Unfortunately, memory tracking is incompatible with the V-Ray Application SDK which is the base of VFH.
    V-Ray For Houdini | V-Ray Hydra Delegate | VRayScene
    andrei.izrantcev@chaos.com
    Support Request

    Comment


    • #3
      You could maybe export a .vrscene and render with V-Ray standalone, which should support the memory tracking.

      Best regards,
      Vlado
      I only act like I know everything, Rogers.

      Comment


      • #4
        thanks for the info guys!

        Regards Alexis
        http://goodbyekansasstudios.com/

        Comment


        • #5
          Tried googling but didn't find any info on how to use it with VRay Standalone. Could someone point me in the right direction?

          -- Erik

          Comment


          • #6
            Hey, Erik,

            this won't work with the vray executable shipping with V-Ray for Houdini. It will work with Standalone (and by Standalone, I mean V-Ray Standalone 4.0 that can be downloaded from the website or the nightlies section).
            You could add the following to the Post Translate script so the required info is exported to the VRScene:
            import vray

            with vray.VRayRenderer() as renderer:
            memtracker = renderer.classes.SettingsMemoryTracker.getInstance OrCreate()
            memtracker.output_enabled=1
            memtracker.scene_name='hipFile'
            memtracker.output_directory='C:/Users/Gosho/Downloads/'
            memtracker.output_file_prefix='out'
            Here's what those do:
            Parameters for plugin 'SettingsMemoryTracker'
            output_enabled: bool = false, Enable memory report file output
            scene_name: string = "", The scene name, needed for the file name
            output_directory: string = "", The output directory, needed for the file path
            output_file_prefix: string = "", the output file prefix, needed for the file name

            Although I'm not sure how it would be useful. Please use the vray.exe that ships with V-Ray for Houdini - otherwise you may hit incompatibility issues due to changes not making it to Standalone, especially when those are made specifically with Houdini in mind.

            Hope that helps!
            Last edited by Gosho.Genchev; 31-03-2020, 02:46 AM.
            gosho.genchev@chaosgroup.com

            Comment


            • #7
              Was thinking maybe it could help with getting some statistics to start from but if it wont work I won't spend any time on it.
              Will there be memory tracking for VFH in the future? It's very useful when scenes start using more memory than you thought/planned.

              -- Erik

              Comment


              • #8
                > Will there be memory tracking for VFH in the future?

                Only for the next major V-Ray Core release.
                V-Ray For Houdini | V-Ray Hydra Delegate | VRayScene
                andrei.izrantcev@chaos.com
                Support Request

                Comment


                • #9
                  Hey GoodbyeKansas ,

                  the Memory Tracker is now available in the V-Ray 5 builds. The thread is rather old but I decided to inform you anyway.

                  Best regards!
                  gosho.genchev@chaosgroup.com

                  Comment


                  • #10
                    stumbled upon it today, that is awesome and i like that i can find info in the vfb
                    http://goodbyekansasstudios.com/

                    Comment

                    Working...
                    X