paul@oddjob.UUCP (Paul Schinder) (08/13/85)
While writing a module to read real numbers from a file, I discovered that the procedure ConvertToR (which converts a character string containing a real number to a real number) doesn't work when imported from InTerminal, but does work when imported from RealTerminal. While writing a routine to do some simple calculations, I got an error message saying something like "not enough global memory for this processor". The largest memory hogs were four arrays of 2000 reals each, or 32000 bytes. I know that I can't use the full 512k on my Mac, but I was a little suprised by this. I recently got a copy of Macintosh Revealed (I'm not going to buy Inside Macintosh until it appears in hardcover), so I'm just now beginning to understand the intracacies of memory management on the Mac. Is the problem that the compiler is trying to allocate storage in the application global space instead of the application heap? If I try to allocate memory dynamically, will I be able to use more of the memory? Thanks. -- Paul Schinder Astronomy and Astrophysics Center University of Chicago uucp: ..!ihnp4!oddjob!paul