4 ms·
If you need this, why are you using Python? Seriously, can anyone explain that to me?
by isaacfrond 5y ago
If you need this, why are you using Python? Seriously, can anyone explain that to me?
- Chiron1991 5y agoFirst and foremost for debugging purposes, e.g. to find memory leaks and such. Then, it's not a bad thing to optimize memory usage in any language. Memray could be a great tool for the authors of data science libraries, which Python has plenty of. Their average user probably doesn't have a beefy developer's laptop with 64GB of memory at hand.
- dmalecaut 5y agoSubstantial python codebase already?
- fer 5y agoBecause Python might be the best tool for a job that has memory constraints?
- anonu 5y agoWhat's your underlying point here? That people shouldn't be doing things in python that take up a lot of memory?
- ajoseps 5y agodebugging high memory usage in python can be annoying. python is used a lot for data analysis e.g. pandas, numpy. You might have scenarios where some dataframe either generated or read, is a lot bigger than others for whatever reason. This might be useful in debugging as to why that's the case.