Copying Large file to RAM: freezes machine

A forum for Classic Amiga specific support issues.
Post Reply
my_pc_is_amiga
Posts: 73
Joined: Sat Dec 08, 2012 7:58 pm

Copying Large file to RAM: freezes machine

Post 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.
my_pc_is_amiga
Posts: 73
Joined: Sat Dec 08, 2012 7:58 pm

Re: Copying Large file to RAM: freezes machine

Post 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.
User avatar
danbeaver
Posts: 368
Joined: Thu Jan 19, 2012 9:58 pm
Location: Someplace you'd rather not be
Contact:

Re: Copying Large file to RAM: freezes machine

Post 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.
Post Reply