Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!columbia!rutgers!sri-unix!sri-spam!ames!amdahl!drivax!holloway From: holloway@drivax.UUCP (Bruce Holloway) Newsgroups: comp.sys.atari.st Subject: Re: Gulam/Developers kit Message-ID: <1666@drivax.UUCP> Date: Wed, 27-May-87 13:07:14 EDT Article-I.D.: drivax.1666 Posted: Wed May 27 13:07:14 1987 Date-Received: Fri, 29-May-87 06:38:54 EDT References: <12530002@acf4.UUCP> Reply-To: holloway@drivax.UUCP (Bruce Holloway) Organization: Digitalis Research, Inc. Lines: 22 In article <12530002@acf4.UUCP> slavin@acf4.UUCP (Slaveman) writes: >Before I started running the compiler I used the 'mem' command in gulam and >got about 151K chunk free, and when I was done, I was somehow down to a >measly 68K, not enough for exec to execute anything. GULAM reports the size of the largest chunk of memory left - you might still have 151K free, of which 68K is the largest chunk available. This is memory fragmentation, and is caused when programs use Malloc() to allocate small blocks rather than doing one Malloc of about a hundred Kilobytes or so, and allocating smaller structures from that using internal routines. Also, it looks as if the compiler isn't freeing some of the memory it uses - otherwise, the fragmentation would fix itself when the program finished. But there's nothing you can do about it, short of rebooting the machine. It certainly isn't a problem with Gulam - except that Gulam uses memory even when another program is running over it, so you lose that memory right there. - Bruce -- Bruce Holloway - Relapsed Newsaholic {seismo,sun}!amdahl!drivax!holloway "Everything should be made as complex as possible - esp. if you're paid hourly." What Irony - 75 - "The Personal Diaries of Albert Einstein"