I know MPFIT is not a GDL routine, but the following code generates ~150MB memory leak for each call in GDL and does not leak in IDL. It only happens when using double precision numbers (memory usage stays the same when using floats) :
tmp = double(randomn(42,1000))
for i=0L, 1000L do r = mpfitexpr('p', 0.0, tmp, 1.0, 1.0, /quiet)
Running GDL on Linux Mint 64bits.
Log in to post a comment.