Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!caip!nike!ucbcad!ucbvax!PAVEPAWS.BERKELEY.EDU!dillon From: dillon@PAVEPAWS.BERKELEY.EDU (Matt Dillon) Newsgroups: net.micro.amiga Subject: Re: Re: printf does not take 10K Message-ID: <8607080847.AA07647@pavepaws> Date: Tue, 8-Jul-86 04:47:35 EDT Article-I.D.: pavepaws.8607080847.AA07647 Posted: Tue Jul 8 04:47:35 1986 Date-Received: Wed, 9-Jul-86 01:44:23 EDT Sender: daemon@ucbvax.BERKELEY.EDU Organization: University of California at Berkeley Lines: 29 Thank you, Claudio, for your experimenting in finding precisly what RawDoFmt does. ---- Now, I think I've found a rather strange bug in the ram: drive. If you: (A) open a new file on the ram: drive, then write out, say, 20K one byte at a time. For some reason, the amount of RAM taken up by this file is huge.. on the order of 90K. The DIR shows the file to be the correct size, and you can TYPE it fine.... now, if you CP the file to a floppy, DEL it on ram:, then copy it back (from the floppy to the ram drive), it takes up only as much as it should. It would seem that the amount you write out at a time effects how much actual RAM is used. The larger the block size, the less the amount of RAM used. The smaller the block size (I wrote it out 1 byte at a time), the more RAM is used. Can anybody shed some light on this? I'm currently putting together a small C program to illustrate this (and will, of course, send it to amiga!bugs) using 1.2 B II -Matt