On Fri, 27 Mar 1998, Tim Thomson wrote:
> Hi, > Is there such thing as "dynamic virtual memory"? > I have a low spec machine - 8meg RAM 100meg HDD, and have a 10meg swap > partition. Obviously I run out of memory every now and then. Is there a > way to set the system up so that when virtual memory is exhasted, the > kernel will allocate more hard drive space, and deallocates it after > awhile? I know for certain that you can set up a file as your swap space. I have that written down somewhere if you really need that. You could, in theory, use a script of some sort to interrogate the file (cf: the "mem" command) and adjust the size of the file accordingly.... In practice, I haven't tried it and it requires 3 or so calls to sync (not sure why) which might (??) tamper with the contents of the file. Then the OS _might_ get confused. If I remember clearly, the documentation on lilo has something about the system crashing at some later time if you tell it (through lilo) that you have more memory than you actually have. I dunno if something akin to this would occur if you tamper with the swap file. Now, that is my two bits Jonathan > > TIA, > > Tim. > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > > -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]