Giter Club home page Giter Club logo

Comments (4)

toinsson avatar toinsson commented on July 28, 2024 1

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.

show_cv2_py2_30min

Python3 seems to be more performant in terms of memory footprint, might be good to test out.

from pyrealsense.

toinsson avatar toinsson commented on July 28, 2024

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.

massimilianoC avatar massimilianoC commented on July 28, 2024

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.

massimilianoC avatar massimilianoC commented on July 28, 2024

Thanks. Python 3 seems to solve my problem! Thanks again

from pyrealsense.

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.