[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[pygame] surfaces and memory



Hi everyone.

I have a very complicated animation (100+ frames) I want to load up in pygame. When I load each image individually, it loads (takes a while to read from disk though) and then runs fine. However, when I compile the frames into a wide montage in a single file and try to load it as one surface, I get:
<pygame.error instance at 0x4029896c> Out of memory exceptions.

Two questions:
Does anyone have an idea of how big a surface can be?

And also, does anyone know the best way to debug pygame?

Thanks,
Luke