# Re: 'failed to allocate memory' with Mp3Info module

**URL:** <https://www.ruby-forum.com/t/re-failed-to-allocate-memory-with-mp3info-module/55625>\
**Category:** Ruby\
**Created:** [March 22, 2006, 4:33pm UTC](https://www.ruby-forum.com/t/re-failed-to-allocate-memory-with-mp3info-module/55625 "2006-03-22T16:33:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![BergerS\_Daniel](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/bc8723/32.png) [@BergerS\_Daniel](https://www.ruby-forum.com/u/BergerS_Daniel)\
**Post date:** [March 22, 2006, 4:33pm UTC](https://www.ruby-forum.com/t/re-failed-to-allocate-memory-with-mp3info-module/55625/1 "2006-03-22T16:33:16Z")

</div>

> I’m pretty new to Ruby [this is my second script], but I’m trying to  
> files.each do |f|  
> with:

Looks to me like you’re just running out of memory, since that line is  
just an IO#read. I think Mp3Info is not freeing the used memory between  
reads as it should, but I’d have to look at the source a bit closer.

Regards,

Dan
