View Single Post
Old 22nd March 2012, 22:35   #102
Batter Pudding
Major Dude
 
Batter Pudding's Avatar
 
Join Date: Jun 2008
Posts: 1,665
What I was suggesting is the in_mp3 code could be loading all the MP3 TAGs before working out what they actually are. So this would not trigger any calls to the image library. It would just cause something to allocate some memory for the data being read from the .mp3 file.

You may need to use something like mp3tag to insert some huge 1MB JPGs into every mp3 file of an example album to see the memory changes. Personally I'd be tempted to make an example album with stupidly big MP3 tags for testing using 5MB images. But then I always did like evil test cases when coding.
Batter Pudding is offline   Reply With Quote