[gmx-developers] memory leaks in addconf.c

David van der Spoel spoel at xray.bmc.uu.se
Fri May 4 19:37:45 CEST 2012


On 2012-05-04 15:21, Jochen Hub wrote:
> Hi,
>
> the memory allocated by genbox with option -ci blows up within seconds
> to, say, 2 GB or so. Apparently this is due to lots of snew's in the
> file addconf.c (functions add_conf(), , that do not have the respective
> sfree. A short grep on addconf.c shows that from 17 snew's in the file
> only 3 have an sfree. Probably there a few more snew in init_mtop,
> init_t_atoms, init_mdatoms, init_nrnb, init_forcerec,
> init_neighbor_list, init_neighbor.
>
> I guess this is not the indented behavior? Should I file a bugzilla on
> this issue?
>
> Cheers,
> Jochen
>
Yes. Redmine that is.
I thought there already was one, but can not find it.

-- 
David van der Spoel, Ph.D., Professor of Biology
Dept. of Cell & Molec. Biol., Uppsala University.
Box 596, 75124 Uppsala, Sweden. Phone:	+46184714205.
spoel at xray.bmc.uu.se    http://folding.bmc.uu.se



More information about the gromacs.org_gmx-developers mailing list