-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
whos() should print the memory usage of the objects #3393
Comments
+1 |
This would be great. I found this when searching for a open PR for updating See also: http://stackoverflow.com/questions/21301451/get-a-list-of-current-variables-in-julia-lang |
|
+1 |
Cross-referencing #7603, which claims to only need to be turned from a gist into a PR. |
Currently, whos() prints only the size of the objects in memory. It would be nice to have it print the total memory consumed by an object. This would be really useful for
Array{Any}
, for example. It would also be nice to have total memory utilization of all objects printed as part of thewhos()
output.Is there a way to get the total memory usage by an object? I faintly remember having something like
getnbytes
, but can't find it any more.The text was updated successfully, but these errors were encountered: