Re: [Yade-dev] [Bug 1041084] Re: memory leak while erasing facets

2012-08-24 Thread Anton Gladky
> Why is memory not purged after erasing a body? > Is it possible to clear memory from erased bodies? I think, it is "connected" with python-variables. Removing the python variable should destroy an object (need to try): b = utils.facet() id = O.bodies.append(b) O.bodies.erase(id) b=0 You can tr

[Yade-dev] [Bug 1041084] Re: memory leak while erasing facets

2012-08-24 Thread Christian Jakob
Thank you Anton for the explanation. Why is memory not purged after erasing a body? Is it possible to clear memory from erased bodies? -- You received this bug notification because you are a member of Yade developers, which is subscribed to Yade. https://bugs.launchpad.net/bugs/1041084 Title:

Re: [Yade-dev] [Bug 1041084] Re: memory leak while erasing facets

2012-08-24 Thread Anton Gladky
2012/8/24 Christian Jakob <1041...@bugs.launchpad.net>: > Message from syslogd@debian at Aug 24 10:56:01 ... > kernel:[1542691.744027] EDAC MC0: UE row 0, channel-a= 0 channel-b= 1 labels > "-": NON-FATAL recoverable (Branch=0 DRAM-Bank=0 Buffer ID = 0 RDWR=Read > RAS=0 CAS=0 NON-FATAL recoverab

[Yade-dev] [yade/trunk] ad7051: Still smallfixes in density scaling

2012-08-24 Thread Bruno Chareyre
Branch: refs/heads/master Home: https://github.com/yade/trunk Commit: ad70513a98753ced674748fe2aa2cec6020e43af https://github.com/yade/trunk/commit/ad70513a98753ced674748fe2aa2cec6020e43af Author: Bruno Chareyre Date: 2012-08-24 (Fri, 24 Aug 2012) Changed paths: M examp

[Yade-dev] [Bug 1041084] Re: memory leak while erasing facets

2012-08-24 Thread Christian Jakob
When you insert another O.run(5,True) after creating the facets, the memory leak is still there and also much higher, than without it! Also I get a crash :o Running script memoryleak-erase-facets.py Message from syslogd@debian at Aug 24 10:56:01 ... kernel:[1542691.744027] EDAC MC0: UE row 0, c

Re: [Yade-dev] [Bug 1041084] Re: memory leak while erasing facets

2012-08-24 Thread Anton Gladky
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 -- You received this bug notification because you are a member of Yade

[Yade-dev] [Bug 1041084] Re: memory leak while erasing facets

2012-08-24 Thread Christian Jakob
** Attachment added: "bug-mem-leak-facets.zip" https://bugs.launchpad.net/bugs/1041084/+attachment/3274767/+files/bug-mem-leak-facets.zip -- You received this bug notification because you are a member of Yade developers, which is subscribed to Yade. https://bugs.launchpad.net/bugs/1041084 Ti

[Yade-dev] [Bug 1041084] [NEW] memory leak while erasing facets

2012-08-24 Thread Christian Jakob
Public bug reported: 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 t