Thread View: comp.os.msdos.programmer
1 messages
1 total messages
Started by Richard Stanton
Tue, 21 Aug 1990 01:30
Re: QuickC Fatal Error, Automatic Allocation Exceeds 32k
Author: Richard Stanton
Date: Tue, 21 Aug 1990 01:30
Date: Tue, 21 Aug 1990 01:30
16 lines
1325 bytes
1325 bytes
In article <26D06DA7.5617@orion.oac.uci.edu>, eabg020@orion.oac.uci.edu (Donald Doherty) writes: >I am getting the fatal-error message "automatic allocation exceeds 32k" >while compiling in the QuickC environment. Evidently the space allocated >for the local variables of the "main" function is 32k and, due to the >fact that the program is math intensive with several variables (mostly >of type double and several arrays), I have exceeded this limit. > >It is not clear to me how to change the amount of memory allocated to the >local variables of any one function. > Declaring the variables static may help; I'm not sure. One way that would get around this problem is to use dynamic memory allocation for your arrays, using functions malloc etc. Richard Stanton
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads