What memory profiler do you recommend?

Hi,

I have a project that uses beyond 9Gb of memory and it will be hard to run it with more than 4Gb and impossible with more than 8, given our computing resources. What memory profilers do you recommend? Also, how should I start trying to fix this problem?

Cheers.

Have you looked at memray? GitHub - bloomberg/memray: Memray is a memory profiler for Python

2 Likes

Dear Pedro,

Thanks for your suggestion. Yes, I heard of it and tried it once. However I remember I found it hard to use or maybe it did not provide the right insights. It was a while ago and I do not remember anymore :slight_smile: . In any case, I might try it again, maybe going more carefully through the tutorials and been more patient will help this time.

1 Like