mbsim-env / mbsim

A multi-body simulation software
https://www.mbsim-env.de
GNU Lesser General Public License v2.1
42 stars 16 forks source link

Memory increases with simulation time #22

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Run an example (e.g. mechanics_basics_2pendulums) with valgrind 
--tool=massif ./main
  1.1 once with plotting
  1.2 once without
2. look at the ms_print output for the written files
3. See a memory increase due to plotting routines

It seems that due to plotting more and more memory gets allocate without 
freeing it again. This is a problem especially for large simulations that crash 
because of "bad_malloc" after a while.

Original issue reported on code.google.com by kgrundl on 15 Mar 2012 at 2:01

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Moved to: Issue hdf5serie:3

Original comment by friedrich.at.gc@googlemail.com on 18 Mar 2012 at 9:51