Skip to main content
Left closed in review as "Original close reason(s) were not resolved" by Dalija Prasnikar, Adrian Mole, Perry
Left closed in review as "Original close reason(s) were not resolved" by Dalija Prasnikar, blackgreen, j1-lee
added 15 characters in body
Source Link
Aaron Hall
  • 399.6k
  • 93
  • 415
  • 342

I want to know the memory usage of my Python application and specifically want to know what code blocks/portions or objects are consuming most memory. Google search shows a commercial one is Python Memory Validator (Windows only).

And open source ones are PySizer and Heapy.

I haven't tried anyone, so I wanted to know which one is the best considering:

  1. Gives most details.

  2. I have to do least or no changes to my code.

I want to know the memory usage of my Python application and specifically want to know what code blocks/portions or objects are consuming most memory. Google search shows a commercial one is Python Memory Validator.

And open source ones are PySizer and Heapy.

I haven't tried anyone, so I wanted to know which one is the best considering:

  1. Gives most details.

  2. I have to do least or no changes to my code.

I want to know the memory usage of my Python application and specifically want to know what code blocks/portions or objects are consuming most memory. Google search shows a commercial one is Python Memory Validator (Windows only).

And open source ones are PySizer and Heapy.

I haven't tried anyone, so I wanted to know which one is the best considering:

  1. Gives most details.

  2. I have to do least or no changes to my code.

Post Closed as "Not suitable for this site" by bmargulies, Chris Forrence, Chris, Kevin Panko, tckmn
title reflects looking for a recommendation from multiple candidates?
Link

Which Python memory profiler is recommended?

Added link to Heapy - thanks go to dkagedal !
Source Link
Peter Mortensen
  • 31.4k
  • 22
  • 110
  • 134
Loading
Moved a URL into link and provided link text. Added link to PySizer [Wikipedia]. Minor edit: grammar/spelling/case/punctation/etc.
Source Link
Peter Mortensen
  • 31.4k
  • 22
  • 110
  • 134
Loading
edited tags
Link
Factor Mystic
  • 26.9k
  • 16
  • 82
  • 96
Loading
edited tags
Link
Factor Mystic
  • 26.9k
  • 16
  • 82
  • 96
Loading
Source Link
Anurag Uniyal
  • 89.2k
  • 41
  • 181
  • 222
Loading