On Wed, Oct 14, 2009 at 2:59 PM, RB[0] <[email protected]> wrote: > I am getting a nasty mem leak when using pygame.image.tostring > > As shown here: > > import pygame > from pygame.locals import * > > pygame.display.set_mode((100,100)) > while 1: > pygame.image.tostring(pygame.Surface((8,8)).convert_alpha(), "RGBA", 1) > > > NOTE: run this in a console or something where you can crash it to close it > ;) > I am running windows Vista (SP1) - using the task manager to view the > memory usage. > I also am running Pygame 1.8.1 - is this fixed in 1.9.1? > When I run this, the memory seems to jump and just keep growing, quite > quickly... > > Has anyone else had this problem? >
in win XP, pygame 1.9.0rc3 theres no leak: memory usage tops at 12.5 MB -- claxo
