← Back to team overview

yade-dev team mailing list archive

Re: PersistentSAPCollider leaks??

 

 
> I wanted to measure exactly how much time is used for how many elements.
> The largest set I dared (the complexity is something like O(n^2), since
> findOverlappingBB has two nested while loops over bodies) was 64k
> spheres, running just the very first iteration with only the collider as
> engine.
> 
> After about 7 minutes of running, the process starts taking more and
> more memory (now it has 15GB) and doesn't seem to stop. You can try
> yourself with the script below.

May be do need calculation of AABBs? If do it, leak don't observed. 
But without AABBs leak have been and for 16k spheres. 
Maybe too many interactions to create (nbSpheres^2) in this case?

-- 
Best regards, Sergei D.



Follow ups

References