Ram Management
A revolution-build server program I have crashes reliably anywhere between the 1500-1800th repeat in a script that needs to make 9000 laps to complete. I know that the crash comes right as my computer runs out of ram. Is there an easy way to monitor the free system ram and quit then relaunch the program? I could make the script resume easily enough, but what's the best way of measuring when the ram's about the dry up? ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Ram Management
use the hasMemory function. If you know your loop uses 1 bytes then at the beginning of the loop insert if hasMemory(15000) is false exit repeat michael David Kwinter of [EMAIL PROTECTED] wrote the following on 4/13/02 3:40 PM A revolution-build server program I have crashes reliably anywhere between the 1500-1800th repeat in a script that needs to make 9000 laps to complete. I know that the crash comes right as my computer runs out of ram. Is there an easy way to monitor the free system ram and quit then relaunch the program? I could make the script resume easily enough, but what's the best way of measuring when the ram's about the dry up? ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution