#3106 NORM First D: Memorize uses alot of memory
Zarro Boogs per Child
bugtracker at laptop.org
Mon Sep 24 11:38:34 EDT 2007
#3106: Memorize uses alot of memory
------------------------+---------------------------------------------------
Reporter: philipmac | Owner: murielgodoi
Type: defect | Status: closed
Priority: normal | Milestone: First Deployment, V1.0
Component: memorize | Version:
Resolution: fixed | Keywords:
Verified: 0 |
------------------------+---------------------------------------------------
Changes (by murielgodoi):
* status: assigned => closed
* resolution: => fixed
Comment:
I developed a new approach in svgcard.py.
The main problem was related to pixbuff memory usage, each card had their
own pixbuff, now Memorize uses a cache saving just one pixbuf for each
color/size needed.
Adding the new create game mode, the memory usage grew up to 100-110Mb!
Using the new approach the memory was keep around 28-30Mb. (Considering
the value Approx Real Usage in Memphis).
Anyway, I will keep one eye on it, looking for better ways to minimize the
amount of memory usage.
The new code is already committed in git and will be in next releases.
--
Ticket URL: <https://dev.laptop.org/ticket/3106#comment:8>
One Laptop Per Child <https://dev.laptop.org>
OLPC bug tracking system
More information about the Bugs
mailing list