memory problem with GMP 5
vincent at vinc17.net
Fri Jan 15 14:29:49 CET 2010
On 2010-01-15 14:04:16 +0100, Paul Zimmermann wrote:
> I've noticed that GMP 5 uses much more internal memory for big
> multiplications than previous versions. For example with the
> following program on a 64-bit Core 2, top gives a maximal "RES"
> memory of 1.6g for GMP 4.3.2, and 2.4g for GMP 5, i.e., 50% more!
Faster algorithms may need to use more memory. I don't know whether
this is the case here, but it could occur in the future, and in fact
already occurs also for small precisions. Is there a way to choose
the algorithms dynamically?
Vincent Lefèvre <vincent at vinc17.net> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Arénaire project (LIP, ENS-Lyon)
More information about the gmp-bugs