After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 393243 - Gnome-sudoku should not keep all generated puzzles in memory
Gnome-sudoku should not keep all generated puzzles in memory
Status: RESOLVED FIXED
Product: gnome-games-superseded
Classification: Deprecated
Component: gnome-sudoku
2.17.x
Other Linux
: Low minor
: ---
Assigned To: GNOME Games maintainers
GNOME Games maintainers
Depends on: 484691
Blocks:
 
 
Reported: 2007-01-05 19:29 UTC by Thomas Andersen
Modified: 2008-01-11 04:43 UTC
See Also:
GNOME target: ---
GNOME version: 2.17/2.18



Description Thomas Andersen 2007-01-05 19:29:24 UTC
When starting the game all generated puzzles are loaded from a file into memory. And when quitting the game they are all written back to the file again. This is fine for a few puzzles but it does not scale well. Try generating 20,000 puzzles and you will feel my pain. Start up and shut down(the window is hidden but the game is still running) takes ages and memory usage is ~250 megs. Not good.

Of course generating 20,000 is absolute lunacy I still think we need be smarter about how we handle this.
Comment 1 Thomas Andersen 2008-01-11 04:43:59 UTC
Tom Hinkle fixed this for 2.21 already