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
Original issue reported on code.google.com by
kgrundl
on 15 Mar 2012 at 2:01