#8431 NORM 1.5-sof: Invoke python with -OO to save memory

Zarro Boogs per Child bugtracker at laptop.org
Wed Dec 23 16:05:18 EST 2009


#8431: Invoke python with -OO to save memory
---------------------------------+------------------------------------------
           Reporter:  cscott     |       Owner:  dsd                              
               Type:  defect     |      Status:  new                              
           Priority:  normal     |   Milestone:  1.5-software-later               
          Component:  sugar      |     Version:  Development build as of this date
         Resolution:             |    Keywords:                                   
        Next_action:  never set  |    Verified:  0                                
Deployment_affected:             |   Blockedby:  8438                             
           Blocking:             |  
---------------------------------+------------------------------------------
Changes (by dsd):

  * owner:  cscott => dsd


Comment:

 I plan to remove all pyc files from the build and replace them with pyo.
 This will save about 3mb of disk space.
 I'll add the PYTHONOPTIMIZE to olpc-session. This will affect all programs
 opened under Sugar and GNOME. I also checked that Sugar, the presence
 service, and the datastore are all started in this mode too.

-- 
Ticket URL: <http://dev.laptop.org/ticket/8431#comment:6>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system


More information about the Bugs mailing list