English Amiga Board

English Amiga Board (https://eab.abime.net/index.php)
-   support.Other (https://eab.abime.net/forumdisplay.php?f=74)
-   -   RAM Disk is 100% full from start (https://eab.abime.net/showthread.php?t=83708)

elowan 10 August 2016 10:50

RAM Disk is 100% full from start
 
.. is there a way to fix this?

Why does it show 100% full at all the time?
(I run OS3.9 with all BoingBags installed in FS-UAE 2.6.2 on windows PC)

And is there some tool to "clear RAM:"? I got some in "Utilities": "Delete RAM disk and clean ram disk" - but clean ram disk refers to another device, it seems.

when I try "cleanRaAMdisk", I get "couldn´t open vdisk.device : Error -1"
plus the icons regarding "RAM" are just 4 colors and look totally different from the rest of the 3.9 icons....

emufan 10 August 2016 11:01

ram disk is allways 100% - there is a reason, but i cannot remember what it was.

the ramdisk icon you can define, when you create an icon (icon type drawer or disk) and save it as
ENVARC:/SYS/def_RAMdisk.info
or
ENVARC:/SYS/def_RAM.info

cannot say for sure, which one. if they ( or one of them) is not present, the system will use a default one.

#1) c:flush cleans up the ram a bit.

-Acid- 10 August 2016 11:14

Ram disk is always 100% full as it's only as big as it needs to be to hold whatever is in it. If you add more data to it it increases it's size accordingly until you run out of available ram.

elowan 10 August 2016 11:32

Quote:

Originally Posted by -Acid- (Post 1105254)
Ram disk is always 100% full as it's only as big as it needs to be to hold whatever is in it. If you add more data to it it increases it's size accordingly until you run out of available ram.


Aahhh, ok. So my memories from the past were wrong ;)

jPV 10 August 2016 11:34

Quote:

Originally Posted by elowan (Post 1105250)
.. is there a way to fix this?

Why does it show 100% full at all the time?

It doesn't need to be fixed, it's the beauty of Amiga's Ram Disk implementation that it is dynamic and it doesn't waste any amount of ram by reserving some static amount! It's much better than those ugly static ram disk solutions for example on PC, which just sit there and reserve the memory for nothing.

You copy something to Ram Disk and it takes more memory, delete something and it frees it automatically. I don't have any idea what are those cleaning programs you told... you just can delete files you've copied there by yourself whenever you want.

If you want a static ram disk on Amiga, you can mount RAD: which is fixed size and reset-proof. It acts like a standard disk and you can write disk images to it and boot from them etc.

elowan 10 August 2016 11:40

I saw some RAM: cleaning tool, which leaves ENV and T intact. It is distributed on the ClassicWB installs... maybe I ask there, if I can just have that tool.

amigasith 10 August 2016 13:12

In order to display real free RAM:, I used http://aminet.net/package/util/sys/PatchRAM Works like a charm :great There is also a version for OS 3.9 here: http://aminet.net/package/util/boot/PatchRAM

jPV 10 August 2016 14:10

Quote:

Originally Posted by elowan (Post 1105258)
I saw some RAM: cleaning tool, which leaves ENV and T intact. It is distributed on the ClassicWB installs... maybe I ask there, if I can just have that tool.

Or just create your own "tool" :) This shell command does it:
Delete RAM:~(Clipboards|ENV|T) ALL FORCE QUIET

Just put that line in a text file, add a project icon (with iconx as the default tool), and voilĂ  you have a tool :)

nogginthenog 10 August 2016 15:40

This patch from Thomas Richter patches the OS3.9 ram-handler to show real %:
http://aminet.net/package/util/boot/PatchRAM

elowan 11 August 2016 19:29

awesome, thanks a lot :)


All times are GMT +2. The time now is 20:21.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.

Page generated in 0.04329 seconds with 11 queries