CompuServe Messages

#Memory Munching

    07-May-94 19:20:14
Sb: #Memory Munching
Fm: Dave Wright 76615,2360
To: all
Hello. I've been messing around with the AMIGA since about 1985 or so. At work, I use PCs (sorry), so I am a little behind on this beast. I currently have an AMIGA 2000 with a 40MB drive and a 105MB drive, three 3.5" disks, 1 5.5" disk, and a 8088 bridgeboard. Miscellaneous other stuff of no significance. I am trying to write an app in Aztec 'C' V5.2 on this computer, and I have a conundrum. No matter what I write (and I've written about 5 apps), I have a memory management problem. Any application that I write, the first time the application runs, it burns up 10,992 bytes of memory. After that, I can run the app a thousand times, and all is well. This doesn't fit in with my experience on PCs, and I can't figure out what's going on. I operate on the assumption that all statics and globals are freed by the compiler, but this doesn't seem to be true. If not that, then the OS must be a little recalcitrant. Has any one run into this? Is there something that I've missed? I would appreciate any help you can provide. Thanx much. Dave Wright