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