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

Re: [pygame] Frantic memory usage



Hello,

Out of interest, have you tried loading the images on demand? 

I have found that computers and hard drives are fast enough these days
to load the images as needed (as long as the animation doesn't run to
fast). This way you may only keep 3-4 frames at one time.

Another option is to use something like PIL and Gif animations, this
allows you to "seek" through the file and only load the images as
needed.

Hope this helps.

Mithro


On Wed, 2006-07-19 at 15:02 -0400, David Mikesell wrote:
> And once again without the line wrapping...
> 
<snip very interesting article>