Xref: utzoo comp.sys.mac:27369 comp.sys.mac.programmer:4755 Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!iuvax!rutgers!cmcl2!ccnysci!alexis From: alexis@ccnysci.UUCP (Alexis Rosen) Newsgroups: comp.sys.mac,comp.sys.mac.programmer Subject: Re: Changing max. no. of files open at one time under Mac OS Message-ID: <1329@ccnysci.UUCP> Date: 26 Feb 89 05:56:00 GMT References: <2054@pembina.UUCP> <8219@polyslo.CalPoly.EDU> <331@lloyd.camex.uucp> Reply-To: alexis@ccnysci.UUCP (Alexis Rosen) Organization: City College of New York Lines: 20 Something *VERY* screwy is going on here. I just looked at the boot blocks on my two and they unquestionably say, ten open files. Well, that's a little weird. See, I'm running MultiFinder. And when I work, I usually have the Finder, Word, FoxBase, and sometimes ResEdit and LSP all open at once. In Foxbase alone I can have twenty or thirty files open at once. Now it's true, some of those are text files which are probably read and then closed, but as I type this I have six data files and eleven indexes open! Now, I just tried to open lots of files in ResEdit and I hit a hard limit of three open files. I know that I've had more than that open at once in the past. So is that open-file limit applicatble to _resource_ files only? If so I've been wasting some memory (not a lot, though). That does bring up another question though- what does the file system do about open data forks? Does it just allocate the buffer (if you don't allocate your own) and other stuff on the system heap? What gives? Alexis Rosen alexis@ccnysci.uucp