Print at Dec 17, 2025, 3:03:24 PM View all posts in this thread on one page
Posted by fixxser at Apr 22, 2020, 4:48:03 PM
PhotoVideoRendering-1.9 plug-in Ubuntu plugin memory leak
I have installed the PhotoVideoRendering-1.9 plug-in in Ubuntu 18.04
Sweet Home 6.2 and 6.1 both
When rendering a video, the memory keeps going up and up until the PC runs out of memory and crashes.

Is there something I could do or try? Maybe change some lines of code?

The regular video rendering works fine. 24 hours rendering, I am willing to wait.(1280x720)

Posted by Puybaret at Apr 22, 2020, 9:39:02 PM
Re: PhotoVideoRendering-1.9 plug-in Ubuntu plugin memory leak
Maybe, you could try to increase the max memory used by Sweet Home 3D?
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator

Posted by enkonyito at Apr 23, 2020, 5:11:10 AM
Re: PhotoVideoRendering-1.9 plug-in Ubuntu plugin memory leak
@fixxser

If it is a memory problem, increasing it should be enough.

As the problem only occurs with the plug-in, I would like to know your rendering settings: (rendering engine and its properties, sky lighting enabled or not).
Does it recur whatever the resolution or only for 1280x720 ?
----------------------------------------
EnkoNyito

Posted by jirka81 at Apr 24, 2020, 5:54:00 PM
Re: PhotoVideoRendering-1.9 plug-in Ubuntu plugin memory leak
I have problem with YafaRay engine too:
when I start rendering, a lot of text is logged into the console and then nothing happens - nothing is rendered.
But sometimes it works without problems.
I think it gets stuck before it has log this
[16:33:14] INFO (+ 1s): Environment: View number = 0, view name: '', camera name: '5b3b3366-0813-49fd-b31a-250e4ba96d35'
[16:33:14] PARM: Using [4] Threads.
[16:33:14] PARM: Using for Photon Mapping [4] Threads.
[16:33:14] INFO: Kd-Tree: Starting build (7945647 prims, cr: 0.8 eb: 0.33)
[16:33:42] INFO (+ 28s): Scene: total s ....


With engine Sunflow is rendering working perfect, but with YafaRay sometimes not start rendering, sometimes java crash.
I use linux and 64b java with -Xmx4g.
And I have to admit that my file is big (180MB), but Sunflow has no problem with that.

PS: I am sorry for my english

Posted by enkonyito at Apr 24, 2020, 8:40:05 PM
Re: PhotoVideoRendering-1.9 plug-in Ubuntu plugin memory leak
@jirka81
With engine Sunflow is rendering working perfect, but with YafaRay sometimes not start rendering, sometimes java crash.

To work around the problem of not deleting the lights after their creation in YafaRay, I found this solution which recreates the scene with each video frame.
For the moment, without this solution, no video rendering is possible with YafaRay.
----------------------------------------
EnkoNyito