Thread View: net.micro.atari
2 messages
2 total messages
Started by Taylor Jackson
Thu, 12 Dec 1985 01:29
520ST malloc help!
Author: Taylor Jackson
Date: Thu, 12 Dec 1985 01:29
Date: Thu, 12 Dec 1985 01:29
4 lines
732 bytes
732 bytes
I'm having trouble with malloc, e.g. any function call previous to malloc causes it to fail (can't allocate memory for x bytes). Any suggestions? Taylor Jackson
Re: 520ST malloc help!
Author: Steve Tynor
Date: Fri, 13 Dec 1985 15:18
Date: Fri, 13 Dec 1985 15:18
17 lines
1336 bytes
1336 bytes
In article <673@mprvaxa.UUCP> jackson@mprvaxa.UUCP (Taylor Jackson) writes: >I'm having trouble with malloc, e.g. any function call previous to malloc >causes it to fail (can't allocate memory for x bytes). Any suggestions? >Taylor Jackson > I had the same problem and called Richard Frick... It turns out that TOS gives up all of memory to the application. (seems pretty stupid to me). So in order to use Malloc, you have to first use Mfree to free up some memory. Now what I haven't figured out is how to determine where to start the Mfree????? It seems non-deterministic since depending on how many desk-accessories are loaded, the application will be loaded at various locations in memory... Any ideas? Steve Tynor
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