I understand that you often are frustrated with the way Windows works. But the times when Linux was limited to something like 512 file handles are not so far away (BTW, you can query the max number with cat /proc/sys/fs/file-max ).
Don't worry, I'm not frustrated at all; I don't use Windows
![Evil >:D](http://pixinsight.com/forum/Smileys/default/evil.gif)
By the way, my Linux workstation (Fedora 13 x86_64) has file-max = 1605985 by default
![smile :)](http://pixinsight.com/forum/Smileys/default/smile.gif)
Let's clarify a bit about ImageIntegration. The ImageIntegration process in PixInsight has no resource problems (other than the file handles limit on Windows, but I hope it will be fixed in the next version). ImageIntegration is able to integrate thousands of images, precisely because I designed it applying quite severe resource availability constraints. The images are not loaded in RAM at the beginning of the process, as most other imaging applications do. Instead of that naive approach, ImageIntegration implements an incremental pixel rejection/integration process. The integration work is divided into several steps, and at each step a strip of pixel rows (which can be as small as just one row) is read from each file and all pixels with the same coordinates are rejected and integrated using concurrent threads.
The only abundantly consumed resources are file handles, since all files must remain open during the entire process. Obviously, opening/closing files at each step is a very bad idea because it would invalidate file caches, among other things.
I would prefer if PI would have automatisms like this instead of exposing the user to many effects that he just cannot understand without deep knowledge of C++, compilers or operating systems.
In fact PI has hundreds of OS-dependent exceptions and adaptations internally. I see no problem here requiring the user to be a computer geek; just a bug and (hopefully) a solution, although the solution is a bit geeky, certainly
![smile :)](http://pixinsight.com/forum/Smileys/default/smile.gif)
By the way, while I've been writing this PI has integrated 220 4 Mpx images with noise evaluation and sigma clipping in roughly 1000 seconds
![smile :)](http://pixinsight.com/forum/Smileys/default/smile.gif)