Rebalancing script RAM Usage. Script base RAM cost is 1.5GB, while common functions were made cheaper

This commit is contained in:
Daniel Xie
2017-06-05 09:31:47 -05:00
parent 9adce1dd2f
commit d73a11f678
3 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -204,7 +204,7 @@ Script.prototype.reset = function() {
//Updates how much RAM the script uses when it is running.
Script.prototype.updateRamUsage = function() {
var baseRam = 1; //Each script requires 1GB to run regardless
var baseRam = 1.5; //Each script requires 1GB to run regardless
var codeCopy = this.code.repeat(1);
codeCopy = codeCopy.replace(/\s/g,''); //Remove all whitespace