Well, for one thing, on my machine, it segfaults constantly. I tracked it down to ~line 1006: scaled = pygame.transform.smoothscale(img, size) But there doesn't seem to be anything out of the ordinary there. Maybe trying to resize many 1x1 surfaces to 400x400 leads to a memory leak somewhere in PyGame?
Ian