home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / mac / programm / 21110 < prev    next >
Encoding:
Text File  |  1993-01-09  |  1.5 KB  |  36 lines

  1. Path: sparky!uunet!wupost!waikato.ac.nz!aukuni.ac.nz!sbsu1.aukuni.ac.nz!hammett
  2. Newsgroups: comp.sys.mac.programmer
  3. Subject: Mem Mgr Max alloc size (Was: Re: Win 3.1 vs. Mac Toolbox Messaging (Question))
  4. Message-ID: <hammett.726623377@sbsu1.aukuni.ac.nz>
  5. From: hammett@sbsu1.aukuni.ac.nz (Tim Hammett)
  6. Date: Sat, 9 Jan 1993 23:49:37 GMT
  7. Sender: news@ccu1.aukuni.ac.nz (News Owner)
  8. References: <93008.105210REE700A@MAINE.MAINE.EDU> <1993Jan8.174134.29088@kth.se>
  9. Organization: University of Auckland, New Zealand.
  10. Nntp-Posting-Host: sbsu1.aukuni.ac.nz
  11. Lines: 23
  12.  
  13. d88-jwa@dront.nada.kth.se (Jon WΣtte) writes:
  14. >>Oh yeah,  What is the largest array (mem alloc) I can have?  I heard in some
  15. >>Mac vs. PC fight that the Mac had a 64K data block limit, but even system 4
  16. >>used longint's for the alloc size...
  17. >
  18. >Yes, the Mac has always had a limit of available memory for
  19. >memory allocations.
  20.  
  21. Actually, I think there is an 8 megabyte limit on memory manager
  22. pointer/handle allocations. I haven't tried it (don't have enough
  23. memory on this machine), but there's a line in Memory.h:
  24.  
  25.     maxSize = 0x800000,     /*Max data block size is 8 megabytes*/
  26.  
  27. I also remember something in Inside Mac about how enormous this 8M figure
  28. is compared with the amount of memory the Mac can take (this was back in
  29. the days on 128K/512K Macs). How times change. Unfortunately I haven't
  30. been able to find the quote.
  31.  
  32.     --- Tim.
  33. --
  34. Tim Hammett, Botany Dept, Auckland University, New Zealand.
  35. t.hammett@aukuni.ac.nz   Phone: +64-9-373-7599 x8365    FAX: +64-9-373-7416
  36.