0

I am coding with Eclipse PyDev. When I tried to use the Eclipse memory view in order to see the memory allocation of objects in Python, the view is empty and no action is allowed (as shown in the picture). I know that this is available for other programming languages as for example C, C++...

enter image description here

I found this post in Eclipse forums, basically it says that as PyDev is an external product to Eclipse the memory view implementation depends on PyDev.

On the other side, the PyDev documentation site does not explain anything about memory view.

So, if I am interested in viewing the memory information of Python objects when debugging:

  • Is there any possible way to do this with PyDev and Eclipse?
  • Can this be done with other IDEs or tools?

1 Answer 1

1

PyDev does not make use of the memory view in any way (that feature isn't really available in PyDev).

If you're on a newer Python, you may want to check: https://docs.python.org/3/library/tracemalloc.html

And there are also some other interesting links you can see:

http://chase-seibert.github.io/blog/2013/08/03/diagnosing-memory-leaks-python.html

Python: memory usage statistics per object-types (or source code line)

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.