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

Kingston 32GB 64GB 128GB 256GB USB 3.0 Flash Drive Thumb Memory Stick Pen lot
$285.90
TF/SD Card Adapter Camera Reader Android Type-c For iPhone17 Pro Max Plusm lot
$573.98
Micron 16GB 1Rx8 PC4-2133P MTA9ASF51272PZ-2G1A2IJ DDR4 ECC Server RAM, 4x 4 GB
$44.99
Micron 32GB PC4-2666V-RB2-11 Server Ram, MTA36ASF4G72PZ-2G6D1SK
$161.49
Ramaxel 32GB LPCAMM2 PC5 7500 LPDDR5X Lenovo Thinkpad P1 Gen 7 RAM Memory
$550.00
32GB KIT MICRON MTA18ASF2G72AZ-2G6E2ZI PC4-2666V-EE1-11 ECC RDIMM TESTED 2X16GB
$139.00
Intel Optane NMA1XXD128GPS DDR4 2666 4Rx4 ECC 128GB Server Ram
$80.00
32GB KIT SAMSUNG M378A2G43BB3-CWE PC4-3200AA-UA3-11 UDIMM TESTED 2X16GB
$149.00
Lot of 2 Micron 8GB DDR4-2133 PC4-17000 ECC Registered RDIMM Server Memory RAM
$49.99
1 PC MS 2024 Office USB STANDALONE COMPLETE FULL VERSION PACK
$69.99