Comments (4)
I think I found the issue.
I noticed removing the grab parameter declaration fix the (obvious) memory leak.
Basically replacing this :
while i < 50:
if zed.grab(zcam.PyRuntimeParameters()) == tp.PyERROR_CODE.PySUCCESS:
by this :
grab_params = zcam.PyRuntimeParameters()
while i < 50:
if zed.grab(grab_params) == tp.PyERROR_CODE.PySUCCESS:
from zed-python-api.
Hi,
This is indeed an issue. Nothing should be allocated each grab(), only the first time, so there is no function to clear the memory.
Is this specific to the python wrapper or did you also notice this issue with the C++ SDK?
Which ZED SDK version are you using?
Are you on Tegra? (This shouldn't have any impact, it's just to help investigate the bug.)
from zed-python-api.
I have only tried the python wrapper.
And I'm using ZED SDK 2.3.0
Right now I'm testing on my laptop a Dell xps 15 9560 running ubuntu 16.04, but I have also tested it on Tegra (astro carrier jetson tx1) and I'm having the same issue.
from zed-python-api.
That definitely made it a lot more stable!
Thank you very much!
from zed-python-api.
Related Issues (20)
- pyzed.slSensorsData has no attirbute MagnetometerData HOT 4
- Python API for 3.7.4 on Jetpack 5.0 HOT 8
- the object detection and body tracking is not working with zed camera on jetson xavier HOT 1
- get_python_api.py is unable to find pyzed installation folder HOT 2
- import error when run as superuser for python 3.8 on ubuntu HOT 2
- ModuleNotFoundError: No module named 'pyzed.sl' as non-root HOT 2
- Can't build plugin, Error: you must install Cuda HOT 2
- Unable to install Zed Python API HOT 2
- Outdated API
- Image Upside down
- ZED svo playback fps error
- ImportError: DLL load failed while importing sl: The specified procedure could not be found. HOT 2
- Bug when importing pyzed.sl HOT 1
- Requests dependency during API installation HOT 1
- When installing on an ubuntu system, the command used when compiling isοΌ python 3 setup. py build, display error: pyzed/sl. pyx: 10455:161 "c_position_type" is not a type identifier, how to solve this problem? HOT 1
- sl.Matrix4f from numpy.ndarray
- TypeError: Expected a mapping, got pyzed.sl.PositionalTrackingFusionParameters
- ValueError: -1835986560 is not a valid POSITIONAL_TRACKING_STATE
- Typos in README.md
- enable_image_validity_check spams compute fern and compute color print statements HOT 1
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 zed-python-api.