[Bf-python] Freeing memory

J.L. Coenders blender at universalgrid.nl
Wed Jun 30 23:01:57 CEST 2004


Yes, because you cannot 'load' a file directly in the scripting language, I 
open the files with python, filter out the faces and put them in a mesh, 
which is put in a scene. This scene is rendered as a jpg.
After this, I want to clear the memory and read the next file.

- Jeroen


On Wednesday 30 June 2004 22:43, Ed Blake wrote:
> Are you loading the dxf every time you run the script?
>
> Anyway unlinking the scene doesn't remove the scene from the wold, it only
> makes it unavailable.  The scene (or any other object) only gets deleted
> when the file is saved and then re-opened.  Look in the OOPS display after
> running your script a couple of times, you should be able to spot whats
> eating the memory.
>
> --- "J.L. Coenders" <blender at universalgrid.nl> wrote:
> > Hi,
> > I have created a batch render script which reads dxf files and renders
> > them to
> > jpegs. However, every loop the memory usage increases, probably because
> > it doesn't free its memory. Unlinking the scene doesn't work.
> > Anyone know what to do?
> >
> > - Jeroen
> >
> > _______________________________________________
> > Bf-python mailing list
> > Bf-python at blender.org
> > http://www.blender.org/mailman/listinfo/bf-python
>
> _______________________________________________
> Bf-python mailing list
> Bf-python at blender.org
> http://www.blender.org/mailman/listinfo/bf-python




More information about the Bf-python mailing list