Jacques Gélinas on Thu, 06 Jun 2019 12:52:08 +0200


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

Re: Memory usage for zeta()


Here is a comparison, using my very latest Cygwin version (on Windows 8.1).

$ \v
        GP/PARI CALCULATOR Version 2.12.1 (development 23932-643d17838)
         amd64 running cygwin (x86-64/GMP-6.1.2 kernel) 64-bit version
                 compiled: Jun  6 2019, gcc version 7.3.0 (GCC)
                            threading engine: single
                 (readline v7.0 enabled, extended help enabled)
$ \p38
   realprecision = 38 significant digits
$ allocatemem()
  ***   Warning: new stack size = 32000000 (30.518 Mbytes).
$ zeta(0.5+100000.0*I);
$ \s
 Available :                    3999987  long words  (31248 K)
 7160 objects on heap occupy 7301756 long words
$ zeta(0.5+300000.0*I);
$ \s
 Available :                    3999987  long words  (31248 K)
 14865 objects on heap occupy 34881196 long words


Jacques Gélinas