Path: utzoo!attcan!uunet!mcsun!ukc!edcastle!elee24 From: elee24@castle.ed.ac.uk (H Bruce) Newsgroups: comp.lang.c Subject: Microsoft C V5.1 halloc() problem. Message-ID: <5498@castle.ed.ac.uk> Date: 2 Aug 90 14:46:16 GMT Organization: Dept. Electrical Engineering, Edinburgh University, Scotland, UK. Lines: 13 I have written a C program using the large model which when compiled is about 34K in size. I want to allocate space for a huge array of just over 133K (33K long ints) but halloc() returns a NULL. I am specifiying the size of the array element to be sizeof(long) (a power of 2). What is going wrong ? The total memory requirement would appear to be 64K for the program and about 3*64K for the data but DOS say I have 530K free. Thanks, Henry Bruce.