I have been using RMovie for a project, and after a few hours of heavy usage the application memory balloons to a point
where I have to force restart it. RMovie::Movie.new is used quite often. So I have run some tests, first on OS X my
dev machine, then on the server.
# on OS X
1000.times do RMovie::Movie.new("quicktime.mov"); end
Errno::EMFILE: Too many open files - quicktime.mov
# On Ubuntu 6.10
# memory usage before 11192
# memory usage after 144596
1000.times do RMovie::Movie.new("quicktime.mov"); end
Could there be a memory leak? |