Does the function:

get_memory_usage


Do what you want? If you want to know what objects are in memory then maybe 
something like:

sage: *import* *gc*

sage: gc.get_objects()

Or other related gc commands might give what you want. Or you could use 
https://pypi.python.org/pypi/memory_profiler by doing:

sage -pip install memory_profiler


On Wednesday, 4 October 2017 14:30:59 UTC+2, Rusydi H. Makarim wrote:
>
> Hi
>
> Suppose I have a polynomial Ideal 'J' and I want to call 
> J.groebner_basis() . My goal is to profile the memory usage of groebner 
> basis computation in SageMath. How can I do this from the sage command line 
> ?
>
> Regards,
> Rusydi
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to