--------------------------------------------------------------------------- M i n e r v a S o f t w a r e T e c h n i c a l R e l e a s e Number: 008/MemSiz Minerva House Date: 05/12/89 Baring Crescent Author: MK Exeter, Devon Pages: 01 EX1 1TL Adjusting memory allocation to RISC OS tasks --------------------------------------------------------------------------- Users of RISC OS may sometimes find they wish to alter the memory allocated to a particular task beyond the limits of the NEXT allocation in the task manager. A particular example is when the Home Accounts package will not allow further transactions to be added, giving the error 'Data file full'; in this case, increasing the memory allocation will fix the problem. With any RISC OS task (not just those from Minerva) memory allocation is controlled by the command *WimpSlot which is issued when the application is run. This command may have two parameters, indicating the maximum and minimum memory requirements and thus the range of allocation possible through the NEXT bar in the task manager. To alter this, open a directory viewer with the application in it (this should be a backup copy of the application). Holding down the SHIFT key, double click on the application with the SELECT button. Rather than running it as normal, this will open the resource directory viewer for the application. Within this directory you should see a file called !Run and this contains the WimpSlot command. Drag the !Run file into !Edit to change the contents. Looking through the !Run file, you should see a command which reads something like: *WimpSlot -min 152k -max 152k The two figures may be altered to reflect your new requirements and the file saved in the normal way (press F3 then RETURN). Now double click the application in the normal way (without SHIFT held down) and it will run, occupying the newly specified memory slot. Note that if you have left a gap between the -min and -max values, you can control the amount of memory used by setting the NEXT bar in the task manager. If you have allocated a large amount and are running in a one megabyte machine, don't forget to quit from !Edit before trying to run the modified application. --01---008/MemSiz----------------------------------------------------------