cvg / GlueStick

Joint Deep Matcher for Points and Lines 🖼️💥🖼️ (ICCV 2023)
https://iago-suarez.com/gluestick
MIT License
532 stars 40 forks source link

Memory not releasing issue #24

Open Ahmetnasri opened 5 months ago

Ahmetnasri commented 5 months ago

Hi, I noticed while using GlueStick that the memory usage is always increasing if I do recursive inferences, for example after running 100 times the memory is getting completely full and the program is being killed. Any ideas about this issue? Thanks

junwei0812 commented 3 months ago

Me too, Have you solved this problem?

junwei0812 commented 3 months ago

Hi, I noticed while using GlueStick that the memory usage is always increasing if I do recursive inferences, for example after running 100 times the memory is getting completely full and the program is being killed. Any ideas about this issue? Thanks

Hi, I think I have find a possible solution. I use memory_profiler to analysis memory usage, and find that the problem is in pytlsd package. In pip, the pytlsd version still remain in v0.0.2, but the offical repo has update to v0.0.5. I tried install it with the latest version 0.0.5, and fixed it. You can try. Here is the repo url: https://github.com/iago-suarez/pytlsd/tree/v0.0.5