Comments (4)
here is a snapshot of the memory usage with show_cv2.py
for 20+ minutes under python2. It seems stable with massive fluctuation which might be explained by the way the garbage collection works.
Python3 seems to be more performant in terms of memory footprint, might be good to test out.
from pyrealsense.
Could you be more specific about the application you are running ?
The "leak" could be in your application and not in pyrealsense for example, or simply due to the way Python is doing garbage collection.
from pyrealsense.
Hi, i have problems even with the example code: show_cv2.py.
Specifically i've misured about 190MB in 15 minutes of memory consumption running that sample code. And it's growing almost in a linear way through time, till the computer is overloaded.
I'm using that example structure for my application, so if i can optimize the example, i'm sure i'll have benefits even in my application.
Any suggestion?
Thanks for your time and for your work!!
Info | |
---|---|
python version | 2.7 |
from pyrealsense.
Thanks. Python 3 seems to solve my problem! Thanks again
from pyrealsense.
Related Issues (20)
- switch between two IR cameras HOT 2
- How to get the focal length? How to get the sensor height? HOT 2
- Can't import rs_option
- I am unable to perform import pyrealsense in Windows 7 64-bit with Python 2.7 in Anaconda (Similar to issue #31) HOT 2
- problem with loading calibration data by pyrealsense
- install pyrealsense error HOT 1
- Cant measure distances with PyRealSense HOT 1
- Trying to install under Arch Linux x86_64 HOT 7
- ValueError: '<P' is not a valid PEP 3118 buffer format string HOT 11
- Issue with LRS 1.12.1 and PRS 2, R200 & F200 devices not detected on UP2 HOT 9
- Problems installing pyrealsense via pip3 and manually using setup.py
- add numpy as requirement
- pyrealsense Error:'NoneType' object has no attribute 'deproject_pixel_to_point'
- installing pyrealsense HOT 1
- depth measurement
- Installation Problem HOT 4
- Install librealsense-1.12.1 and pyrealsense on Raspberry Pi4 for F200 HOT 1
- pip install keeps failing HOT 1
- Install issues HOT 1
- generate point cloud data of human
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 pyrealsense.