memory leak while assigning boost::python attributes
Bug #1041084 reported by
Christian Jakob
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Yade |
New
|
Undecided
|
Unassigned |
Bug Description
I detected a memory leak in O.bodies.erase, when facets were erased (spheres are erased without memory leak!).
In the attachment you will find two files, where you can reproduce the bug.
1. Open a terminal with three tabs.
2. Run top or htop in the first terminal tab
3. In the second terminal tab run yade input file "memoryleak-
4. Get the pid from first terminal tab (example 31667) and edit "get-memory-
5. Run "python get-memory-info.py" in the third terminal tab and wait (ca. 5 min) to the end of the calculation.
You will get an output file called "fig-memoryleak
To post a comment you must log in.
Hi,
thanks for the bugreport. After a quick look one can say, that you do
not have any steps between creating and removing facets (just
between removing and creating).
Not sure, but it should help to fix your problem.
Anton