[comp.sys.mac.programmer] Max # open files?

mikek@hp-vcd.HP.COM (Mike Kirkpatrick) (09/27/90)

Do I have a system heap problem? I am developing a stock analysis
program which among other things computes the DOW average by openning 
all 30 DOW stock files and creating sums for each day of history data.
With just the internal hard drive mounted I have 32 files opened simultaneously,the 30 DOW stocks, the stock analysis program itself, and an output file. This
works fine. But, if I mount another external hard drive before running my
program, I get "can't open" type errors before openning all the stock files. 

I suspect I'm running out of system heap, but I'm not sure. IM and others
faguely discuss maximum number of open files. Can you (the reader) confirm
my suspicion or let me know if there is some hard limit to number of open
files?

Could you supply a sample code fragment to increase the system heap?

Using: Mac IIci, system 6.0.? finder 6.?
Multifinder is on.
Development s/w: Think Pascal 2.0

mikek@hp-vcd.hp.com