PhotoVideoRendering-1.9 plug-in Ubuntu plugin memory leak

This topic has been viewed 1561 times and has 4 replies
Thread status: Active
How can I do this? [img]http://www.sweethome3d.com/images/flags/en_small.gif[/img]
Post Reply New Topic
fixxser
Posts: 1
Joined: Wed Apr 22, 2020 2:38 pm

PhotoVideoRendering-1.9 plug-in Ubuntu plugin memory leak

Post by fixxser »

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)
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: PhotoVideoRendering-1.9 plug-in Ubuntu plugin memory leak

Post by Puybaret »

Maybe, you could try to increase the max memory used by Sweet Home 3D?
Emmanuel Puybaret, Sweet Home 3D creator
enkonyito
Posts: 607
Joined: Thu May 28, 2015 4:52 pm

Re: PhotoVideoRendering-1.9 plug-in Ubuntu plugin memory leak

Post by enkonyito »

@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
jirka81
Posts: 2
Joined: Sun Sep 16, 2018 3:00 pm
Country: Česká republika

Re: PhotoVideoRendering-1.9 plug-in Ubuntu plugin memory leak

Post by jirka81 »

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
enkonyito
Posts: 607
Joined: Thu May 28, 2015 4:52 pm

Re: PhotoVideoRendering-1.9 plug-in Ubuntu plugin memory leak

Post by enkonyito »

@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
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 1 guest