Re: [Development] Releasing memory after clear() in Qt containers (Qt 5.X)

2021-04-23 Thread Kevin Kofler via Development
Giuseppe D'Angelo via Development wrote: > 3) Unrelated to your problem, your code works in Qt 5, but in Qt 6 if > the QHash gets modified in any way that'll invalidate your entire > QVector you're keeping as a cache. If you want to future proof your code > you'll need to redesign that. This parti

[Development] Status of the QtFeedback module

2021-04-23 Thread Jonah BrĂ¼chert
Hi, I'm one of the people working on the Plasma Mobile project. We are using the QtFeedback module, and it would be very useful for us to have a release of the module, as packaging git snapshots is making life harder than necessary for packagers. I'm aware the module is currently not actively

Re: [Development] Releasing memory after clear() in Qt containers (Qt 5.X)

2021-04-23 Thread Giuseppe D'Angelo via Development
Hi, On 23/04/2021 19:00, Francesc Martinez wrote: I'm doing some research in GitQlient and I've noticed that the RAM memory used doesn't decrease at all when it's supposed to. In there I'm managing an internal cache (needs some improves, I know) that stores the commit information in a QHash <

[Development] Releasing memory after clear() in Qt containers (Qt 5.X)

2021-04-23 Thread Francesc Martinez
Hi all, I have some doubts regarding the memory management in Qt, specially about containers and how the COW affects the release of memory. I'm doing some research in GitQlient and I've noticed that the RAM memory used doesn't decrease at all when it's supposed to. In there I'm managing an intern