How to check memory usage

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

How to check memory usage

Mike S

I'm experimenting with my model (JuMP with Ipopt solver), and I want to know if my changes are helping or hurting the memory consumption. I have been using the @time to see the memory usage, but I do not know if that is the best method.

I also switched to the limited-memory hessian approximation and did not see any reduction in memory size with the @time macro, which surprised me. My problem is large, so memory is an issue

--
You received this message because you are subscribed to the Google Groups "julia-opt" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
Visit this group at https://groups.google.com/group/julia-opt.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: How to check memory usage

Miles Lubin
It's polite to cross link when you post the same question in multiple places:
https://github.com/JuliaOpt/JuMP.jl/issues/873
https://github.com/JuliaOpt/Ipopt.jl/issues/69

On Thursday, October 20, 2016 at 6:52:54 PM UTC-4, Mike S wrote:

I'm experimenting with my model (JuMP with Ipopt solver), and I want to know if my changes are helping or hurting the memory consumption. I have been using the <a href="https://github.com/time" style="background-color:transparent;color:rgb(51,51,51);font-weight:600;white-space:nowrap" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Ftime\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGxySlx5HO54dd3cfo0-SwbC8ZMNQ&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Ftime\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGxySlx5HO54dd3cfo0-SwbC8ZMNQ&#39;;return true;">@time to see the memory usage, but I do not know if that is the best method.

I also switched to the limited-memory hessian approximation and did not see any reduction in memory size with the <a href="https://github.com/time" style="background-color:transparent;color:rgb(51,51,51);font-weight:600;white-space:nowrap" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Ftime\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGxySlx5HO54dd3cfo0-SwbC8ZMNQ&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Ftime\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGxySlx5HO54dd3cfo0-SwbC8ZMNQ&#39;;return true;">@time macro, which surprised me. My problem is large, so memory is an issue

--
You received this message because you are subscribed to the Google Groups "julia-opt" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
Visit this group at https://groups.google.com/group/julia-opt.
For more options, visit https://groups.google.com/d/optout.
Loading...