Comments (3)
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.
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.
Yep, I've given it a try and the the issue seems to be resolved now. Thanks!
from blensor.
Related Issues (20)
- Unable to install Blensor HOT 4
- Inconsistent range reading HOT 3
- TypeError in blensor.tof.scan_advanced HOT 1
- Is it possible to isolate blensor from blender? HOT 1
- Multi-core processing
- Blender 2.8 HOT 1
- TOF sensor has some limit distance HOT 1
- blensor scans API HOT 1
- File format
- Why HDL-64E2 lose some area when scanning HOT 3
- Blender 2.9
- Depth map image crashes
- On which specific version of ubuntu can this be built? HOT 1
- Scan Distance does not work? HOT 1
- How are the scan labels generated in output pcd file? HOT 1
- depthmap bug: The small sensor_size will cause depthmap results error
- Is there any solution to add laser scanner to Blender? Or adding camera to Blensor?
- PCD export example HOT 7
- Is it possible to add new models of LiDAR that this software does not have(for examples livox), has anyone tried it? HOT 2
- GPU acceleration + compatibility with latest version of blender HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from blensor.