Memory leak testing

From OLPC
Revision as of 18:21, 18 September 2008 by Mchua (talk | contribs) (New page: == How to == === Setup === # Download and install guppy to the XO you want to test. In Terminal, as root: <code> wget http://dev.laptop.org/~tomeu/guppy-0.1.9-1.i386.rpm rpm -i guppy...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

How to

Setup

  1. Download and install guppy to the XO you want to test. In Terminal, as root:

wget http://dev.laptop.org/~tomeu/guppy-0.1.9-1.i386.rpm rpm -i guppy-0.1.9-1.i386.rpm

  1. Edit /usr/bin/sugar-shell and add a line that reads

import guppy.heapy.RM

  1. Restart Sugar (ctrl-alt-erase)
  2. ssh into the XO from another computer; when we observe Sugar, is better not use it for anything else than to execute the test case.