Re: Can't write ex.err
- Posted by ChrisB (moderator) Feb 02, 2009
- 906 views
Hi, yes, that gave me the clue.
lsof was listing that the image files were open 600 odd times (not all at one, but opening them as they went through the loop). I was using IMG_LoadJPG(), which opens the files for reading, but seemingly doesn't close them. Using IMG_Load() instead seems to open and close the files as you need them.
Just ruuning it now, so will see how long it goes on for.
Thanks
Chris