0
Completed

Memory leak?

伊藤一帆 5 years ago • updated by Pavel Holoborodko 4 years ago 5
Hi,
On my Windows 64bit and Linux systems with MP ver.3.7.9 and 3.8.0, running the following code causes a strange memory usage that increases linearly and blows up, as the for-loop goes:

mp.Digits(34);
A=mp(ones(1000));
for k=1:1000
A=A.^2;
end
Under review
Probably, now investigating....

Will update shortly.
Indeed there is a memory leak in some coefficient-wise operations. Fix is coming.

Thank you very much for the bug report!
Fixed version for Windows has been released - please download it from our website as usually.

GNU Linux & Mac OSX will follow shortly.
New GNU Linux version has been released (which includes fix for the issue among other improvements).

Please download it using the usual link: http://goo.gl/btsBt