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

Lenovo ThinkPad T14 Gen 1 14" AMD Ryzen 5 16GB 256GB SSD
$219.99
Lenovo ThinkPad T495 14” Laptop AMD Ryzen 5 PRO 16GB RAM 256GB SSD Windows 11
$229.99
Lenovo Thinkbook 15 G2, i5 1135G7, 256GB, 8GB, 20VE003GUS no OS, Iris Xe, 15.6"
$200.00
Lenovo ThinkPad L15 Gen 3 15.6" 16GB, Thunder Black
$241.50
Lenovo ThinkPad T14 G2 14-Inch AMD Ryzen R5 5650U 16GB, 512GB SSD Win 11 Pro
$398.99
Lenovo - IdeaPad Slim 3i 15.6" Full HD Laptop - Intel Processor N355 2025- 8G...
$349.99
Lenovo - Yoga 7i 2-in-1 16" 2K Touchscreen Laptop - Intel Core Ultra 5 Proces...
$749.99
Lenovo IdeaPad 5 2-in-1 16" WUXGA Touch Ryzen 7 8845HS 16GB 512GB SSD FPReader
$571.00
Lenovo Thinkpad E15 Gen 2 8GB RAM 256GB SSD Intel Core [email protected] Laptop
$220.36
Lenovo ThinkPad L15 Gen 3 15.6" 16GB, Thunder Black
$241.50