Baspar / harbour-picross

Picross game for SailfishOS
4 stars 11 forks source link

Memory leak on "New game" #1

Open Self-Perfection opened 8 years ago

Self-Perfection commented 8 years ago

After each solved puzzle RSS memory usage increases. When first game in session is loaded memory usage is about 40MB. But after game session with 5-10 solved puzzles memory usage increases up to ~80MB

I suppose when "New game" starts, the game keeps previous game board in memory instead of destoyring it.

direc85 commented 5 years ago

I tested this with the current version in Jolla Store, and I could not detect any major memory increase during 15 completed levels. There is correlation between the puzzle size and memory usage, but that is to be expected.

Also, me running Sailfish 3.0.0.8 may have something to do with it.

Also also, I made some structural changes, in my branch and I just made a pull request on it. I tested the same 15 levels here, too, and noticed the same thing: after a few levels, the memory consumption has increased a bit, but after that it settles down and fluctuates a bit.

I would close this bug by my own testing...