I don't think you can do it out of the box. There are two options that I can think of :
1. extract boot.img and miniroot.gz from it then change linuxrc, that is where how large the ram disk is specified.
2. setup swap space, assuming you have a HD.
I have some Java development stuff on an external SCSI drive and actually no files in the /home/knoppix. From time to time Eclipse crashed, same for Konqueror. With 256MB RAM, Knoppix takes a full 199MB for ramdisk. I want to size this down as much as possible because it seems running out of RAM is the reason for the apps crashing?
I have checked the forum and google but the only cheatcode I found was "mem" which does NOT what I want. I do not want to set how much RAM is visible to Linux but how much of the total is taken up by that ramdisk.
Maybe someone can tell me how to do that or point me to a useful link!
I don't think you can do it out of the box. There are two options that I can think of :
1. extract boot.img and miniroot.gz from it then change linuxrc, that is where how large the ram disk is specified.
2. setup swap space, assuming you have a HD.
--The ramdisk should allocate memory dynamically depending on how much data is stored on it; the size reported by 'df' is the *maximum* size. There should be no need to resize it.
--Try starting ' konqueror ' and eclipse manually from a terminal window, and see what error messages they give when a crash happens. It's not at all uncommon for browsers to crash, sometimes it just happens.
Originally Posted by hnt
Thanks for the input! Ill try setting up some swap - could have really thought of that one
I tried to get some error-msg from Eclipse though the error came from the JVM itself (dialog popped up):
"JVM terminated. Exit code=-1 /usr/bin/java -cp /mnt/sdc2/java/eclipse/./startup.jar org.eclipse.core.launcher.Main -os linux -ws gtk -arch x86 -showsplash [...] -showsplash 600"
At that time, eclipse was still "running" in the console.
Once you closed it, eclipse was gone too without any message.
I let free check mem every 3 seconds, this is the worst output it gave me - that was shortly before JVM hang up.
Ill just try with some swap now...Code:total used free shared buffers cached Mem: 250 248 2 0 5 45 -/+ buffers/cache: 197 53 Swap: 0 0 0
Helpful tip - if you are using kDE, it's a resource hog. Try using icewm or other more lightweight WM to save on memory.
Originally Posted by hnt

Dell 6P85J 4TB ST4000NM0063 7.2k 6Gb/s 3.5” SAS SED Hard Drive with Tray
$39.99
Western Digital HUS726T4TAL5204 4TB 7.2K SAS 12Gb/s 3.5" 512e HDD NetApp X375A
$64.00
HGST Ultrastar HUS726040AL5210 4TB 7200RPM SAS 12Gb/s Enterprise HDD
$41.00
Tested WD Ultrastar DC HC520 12TB 7.2K RPM SATA 6Gb/s 3.5" HDD HUH721212ALN600
$239.99
Dell ST6000NM0034 1HT27Z-150 NWCCG 6TB SAS 3.5 7.2K ENTERPRISE SERVER DRIVE
$68.99
Seagate Barracuda ST1000DM003 1 TB SATA III 3.5 in Desktop Hard Drive
$23.99
Seagate ST3000NM0005 HDD 3TB SATA 6Gb/s 7.2K 3.5" 512 b/s
$59.00
Toshiba 14TB MG07 MG07ACA14TEY 7.2K RPM SATA 6Gb/s 512e 3.5" Enterprise HDD
$339.00
Seagate ST8000NM0075 Enterprise Capacity 3.5 HDD 8TB SAS Hard Drive 8TB EXOS
$184.99
New Western Digital WD40EFPX 68C6CN0 4TB 3.5" SATA III Internal NAS Red Plus HDD
$137.59