John Cremona on Fri, 20 Jan 2023 17:32:44 +0100


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: getting memory usage




On Fri, 20 Jan 2023 at 14:30, Bill Allombert <Bill.Allombert@math.u-bordeaux.fr> wrote:
sn Fri, Jan 20, 2023 at 02:07:45PM +0000, John Cremona wrote:
> In a gp script I can get cpu time between two points, but can I find out
> how much memory was used?  I don't think getstack() does this.

You can use getheap() (in addition to getstack()).

Thanks Bill, we will try this out.

John
 

Cheers,
Bill.