TEASER-plusplus icon indicating copy to clipboard operation
TEASER-plusplus copied to clipboard

malloc(): largebin double linked list corrupted (nextsize)

Open chrischoy opened this issue 4 years ago • 4 comments

I am getting this error malloc(): largebin double linked list corrupted (nextsize) intermittently and can't run this for more than 5 registration pairs.

chrischoy avatar Mar 25 '20 22:03 chrischoy

Haven't seen this before. How large is your RAM?

jingnanshi avatar Mar 25 '20 23:03 jingnanshi

It is 32G. Possibly, it seems that FCGF gives too many inliers for TEASER and allocating too much memory.

chrischoy avatar Mar 26 '20 00:03 chrischoy

For reference: error msg is from here: https://github.com/kraj/glibc/blob/master/malloc/malloc.c#L3868

jingnanshi avatar Mar 27 '20 01:03 jingnanshi

For AMD CPU users, Code: import os os.environ["OMP_NUM_THREADS"] = "4" Terminal: export OMP_NUM_THREADS=4 #~ Max thread #echo $OMP_NUM_THREADS #show 4 python ./filename.py

manhvuvan281 avatar May 25 '21 11:05 manhvuvan281