Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Have you tried manually calling GC.start with rmagick


In this particular application, I have to inspect PDF and TIFF files that might have hundreds of pages or frames. These files can be over 100MB easily. Running those through RMagick makes the process blow up to enormous sizes. Even if the memory gets garbage collected, Solaris doesn't really release it.

Its just safer to keep it in a different process.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: