2019-11-18 18:51:25 +0200 | received badge | ● Notable Question (source) |
2019-11-18 18:51:25 +0200 | received badge | ● Popular Question (source) |
2011-10-03 21:06:40 +0200 | received badge | ● Supporter (source) |
2011-10-03 21:06:38 +0200 | received badge | ● Scholar (source) |
2011-10-03 21:06:38 +0200 | marked best answer | get_memory_usage returning negative numbers You're using So, in your usage, it's just subtracting If you're interested in doing more "in-depth" memory profiling than what |
2011-10-03 21:06:11 +0200 | answered a question | get_memory_usage returning negative numbers Thank you for your help! I'll definitely look into heapy. |
2011-10-02 21:35:52 +0200 | received badge | ● Editor (source) |
2011-10-02 21:13:59 +0200 | asked a question | get_memory_usage returning negative numbers Is there a reason that get_memory_usage should ever return a negative number? I tried running a "toy" program (after get_memory_usage returned surprisingly large numbers on a more complicated program that I'm using in my research - I wanted to see what the standard memory usage should look like for a basic counter function) and here is what happened: I could be misunderstanding how get_memory_usage works, but it seems to me that the memory usage should never be negative! (In case this is relevant, I am using Sage 4.7.1 on my laptop.) |