Technical support and scripting issues
Moderators: JRL, Dorian (MJT support)
-
Lumumba
Post
by Lumumba » Sat Mar 01, 2003 4:42 pm
If you need the system cache freed, you can do that with a single line of VBScript.
a=string(100000000,"x")
This requests 100 MB of memory (from 128 MB) to be freed for the variable. The "script" finishs and left it available ...
The "requested" memory should be ~ 4/5 of the used RAM.
-
armsys
- Automation Wizard
- Posts: 1108
- Joined: Wed Dec 04, 2002 10:28 am
- Location: Hong Kong
Post
by armsys » Sat Mar 01, 2003 10:31 pm
Hi Lumumba,
Thanks for your valuable programming tip. Three issues here:
1. Do it help prevent/reduce memory leaking by apps such as CorelDraw?
2. Would the system performance suffer as a result?
3. Does it initiate (Windows system memory) garbage collection and/or optimzation?