open-numismat icon indicating copy to clipboard operation
open-numismat copied to clipboard

[Bug] Memory leak while using Colnect or ANS catalogs.

Open CooleRRSA opened this issue 1 year ago • 3 comments

Hello.

If I add records using Colnect or ANS, then with each addition the memory usage increases by 7-15Mb (I think it depends pics resolution) when the window with detailed information opens, and do not decreases after window closed. Memory usage increases even if I open information windows about the same item multiple times. After 30-40 openings of the information window, memory usage becomes more than 1Gb and opening the information window slows down. Opening the window starts to take more than 3-5 seconds. And I need to restart .exe то clean memory and makes makes information window opening fast again. I've checked both v1.9.6 .exe variants for Windows.

Test PC: Ryzen 9 5950X, 128Gb RAM.

CooleRRSA avatar Feb 05 '24 09:02 CooleRRSA

Hi,

Thank you for report! I Will check it.

BR, Vitaly

пн, 5 февр. 2024 г., 12:09 CooleRRSA @.***>:

Hello.

If I add records using Colnect or ANS, then with each addition the memory usage increases by 7-15Mb (I think it depends pics resolution) when the window with detailed information opens, and do not decreases after window closed. Memory usage increases even if I open information windows about the same item multiple times. After 30-40 openings of the information window, memory usage becomes more than 1Gb and opening the information window slows down. Opening the window starts to take more than 3-5 seconds. And I need to restart .exe то clean memory and makes makes information window opening fast again. I've checked both v1.9.6 .exe variants for Windows.

Test PC: Ryzen 9 5950X, 128Gb RAM.

— Reply to this email directly, view it on GitHub https://github.com/OpenNumismat/open-numismat/issues/158, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAKB3ZXY27QEPUW4G4UE3BLYSCOTTAVCNFSM6AAAAABCZYFNRKVHI2DSMVQWIX3LMV43ASLTON2WKOZSGEYTQMBSGM3TCMQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

JanisV avatar Feb 05 '24 10:02 JanisV

Мой английский малость хромоногий, если я не совсем понятно объяснил в чем суть проблемы, то я могу поподробнее прокомментировать, но уже не по английски :D

CooleRRSA avatar Feb 05 '24 10:02 CooleRRSA

The same described behavior occurs when creating/cloning a new record. Version 1.9.6, Windows 10.

https://github.com/OpenNumismat/open-numismat/assets/70388317/04e7065a-3b51-480d-ad32-8b9402c0e7fe

NEKolev avatar Feb 05 '24 18:02 NEKolev