Giter Club home page Giter Club logo

Comments (3)

mgschwan avatar mgschwan commented on July 23, 2024

Hi Peter,

thanks for the info. I will first upgrade to the latest Blender 2.63a and check if the memory leak comes from there.
However I guess it has to do with some changes in the blender codebase from 2.60 to 2.63 that require changes to blensor.

That's going to be quite some "fun" to track down :)

from blensor.

mgschwan avatar mgschwan commented on July 23, 2024

Ok, i've committed several fixes. The memory leaks should be back to a normal level ;) I can't guarantee that there aren't still some parts that are not freed properly but I ran a kinect scan over 23 frames and the memory usage did not increase from the first to the last frame.

The problem is that the blender core is not properly documented, so doing the right thing is not always instantly clear. In addition it seems that the mathutils module of blender does not free the objects properly. I changed the whole code to keep use of that modules at a minimum.

Furthermore blender does no longer complain about unfreed blocks when it exits, so at least blender itself thinks that no memory is lost.

One side effect of this refactoring is that the sensors (especially those who produce many points, depthmap/kinect/tof camera) are faster than before

Can you verify this?

from blensor.

petermoz avatar petermoz commented on July 23, 2024

Yep, I've given it a try and the the issue seems to be resolved now. Thanks!

from blensor.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.