Path: utzoo!attcan!uunet!cbmvax!cbmehq!cbmger!peterk From: peterk@cbmger.UUCP (Peter Kittel GERMANY) Newsgroups: comp.sys.amiga.programmer Subject: Re: ramdrive repacking Message-ID: <864@cbmger.UUCP> Date: 7 Feb 91 08:33:22 GMT References: <88002@tut.cis.ohio-state.edu> <18a42c4c.ARN295c@prolix.ccadfa.oz.au> Reply-To: peterk@cbmger.UUCP (Peter Kittel GERMANY) Organization: Commodore Bueromaschinen GmbH, West Germany Lines: 20 In article <18a42c4c.ARN295c@prolix.ccadfa.oz.au> ccadfa.cc.adfa.oz.au!prolix!dac@munnari.OZ.AU writes: >In article <88002@tut.cis.ohio-state.edu>, deron meranda writes: > >> Does anyone know about any programs which can "repack" a ramdrive? > >I believe that you can just do a request for a huge amount of memory >(something insane, like 4Gigabytes), and that will force the OS to clean up >the fragmented memory list, trying to give back a contiguous chunk of >memory. No, this is not the solution. The OS only can flush out libraries and other stuff where the use count is zero, but it can't rearrange memory chunks of a fragmented RAM disk to one big chunk. It simply cannot *move* memory. - For the special case of the RAM disk, I can imagine a software that knows all internals of this device and rearranges that memory, but that doesn't sound trivial. -- Best regards, Dr. Peter Kittel // E-Mail to \\ Only my personal opinions... Commodore Frankfurt, Germany \X/ {uunet|pyramid|rutgers}!cbmvax!cbmger!peterk