Page 1 of 1

Copying Large file to RAM: freezes machine

Posted: Wed Oct 23, 2013 5:32 am
by my_pc_is_amiga
I have 4000T with no ZorRam. My swap is;
Available pagers:
Pager on device cybppc.device/3 Pages: 65536 Free: 65536

I tried copying the new SDK ~79MB to RAM:. After completing the copy, a few seconds later the machine freezes (no grim reaper). I tried sashimi also but no output. Bascially, I've been able to repeat the freeze like 4-5 times.

Wondering if anybody else has noticed this -- I'm assuming that this is memory limitation on my classic but don't think this should crash the machine.

Re: Copying Large file to RAM: freezes machine

Posted: Wed Oct 23, 2013 6:06 am
by my_pc_is_amiga
For fun I turned off the pager and the OS no longer freezes.

BootLoader COMMANDLINE="NoDiskPager"

Instead I get ELF requesters saying "out of memory" when I try to start other programs.

Re: Copying Large file to RAM: freezes machine

Posted: Wed Oct 23, 2013 6:37 am
by danbeaver
Some things don't work well with virtual memory and don't load or freeze the machine; others work so well one can't tell.

In your situation, you are filling up the Ram Disk with something too large and attempting to keep a contiguous block of memory intact, despite the fact that paging memory to disk automatically fragments it. The paging system always trys to leave 2 - 3 MB of useable available, but when you turn it off, you are left without the paging system active, you leave no ram for anything else.

Try using a fast hard drive partition instead of the Ram Disk.