Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!think.com!spool.mu.edu!snorkelwacker.mit.edu!bloom-beacon!eru!hagbard!sunic!sics.se!ifi!nuug!ugle.unit.no!pat.tih.no!epsilon.tih.no!karlm From: karlm@epsilon.tih.no (Karl Martin Lund) Newsgroups: comp.sys.amiga.programmer Subject: free() in SAS C Keywords: free SAS Message-ID: <1991May02.143148.22732@edb.tih.no> Date: 2 May 91 14:31:48 GMT Article-I.D.: edb.1991May02.143148.22732 Sender: newsadm@edb.tih.no (News - Olet) Distribution: comp Organization: Trondheim College of Engineering Lines: 10 Nntp-Posting-Host: epsilon.tih.no I've had some problems while using the free() function in SAS C version 5.10. It doesn't seem to free the memory to the system before the program exits. It does, however, free the memory in a way such that the same program can use it again when malloc is called. Has anybody any ideas of whats's the problem, or is it made that way to minimize problems with memory fragmetation? I am doing a lot of big, temporary memory allocations which I want to free to the system after use. Does anyone know a way to do this in a ANSI compatible way? Thanks for any help! __ / / KMLUND __ / / \ \/ / \/_/ictory