This is the mail archive of the
gsl-discuss@sources.redhat.com
mailing list for the GSL project.
gsl_multifit_fdfsolver_lsmder memory usage
- From: Peter Verveer <verveer at embl-heidelberg dot de>
- To: gsl-discuss at sources dot redhat dot com
- Date: Fri, 14 Mar 2003 19:24:50 +0100
- Subject: gsl_multifit_fdfsolver_lsmder memory usage
- Organization: European Molecular Biology Laboratory
Hi all,
I recently started converting some numerical code to GSL and replaced a
Levenberg-Marquardt routine which was a C translation of lmdif from MINPACK.
However, I found that the GSL solver gsl_multifit_fdfsolver_lsmder uses a lot
of memory, since it appears to allocate a matrix of m times m, where m is
the number of functions. This causes me many problems since I work with large
data sets (10,000-100.000 data points is not unusual) and obviously memory
requirements quickly get out of hand then. I had a look at the original
fortran MINPACK which does not seem to require this. Is there a particular
reason gsl_multifit_fdfsolver_lsmder needs so much memory, and could this
eventually be changed?
Cheers, Peter
--
Dr. Peter J. Verveer
Cell Biology and Cell Biophysics Programme
EMBL
Meyerhofstrasse 1
D-69117 Heidelberg
Germany
Tel. : +49 6221 387245
Fax : +49 6221 387242
Email: Peter dot Verveer at embl-heidelberg dot de