Fix misinterpretation of cache size. Should prevent memory bloat (and thus GCC explorer website OOM issues)

dev/git-series/gccdum
Matt Godbolt 8 years ago
parent 5760de3d5b
commit 2e8c0cc0d6

@ -33,7 +33,16 @@ var nopt = require('nopt'),
path = require('path'),
fs = require('fs-extra'),
http = require('http'),
Promise = require('promise');
Promise = require('promise'),
memwatch = require('memwatch');
memwatch.on('leak', function(info){
console.log("Memwatch leak: " + info);
});
memwatch.on('stats', function(stats){
console.log("Memwatch stats: " + info);
});
var opts = nopt({
'env': [String],

Loading…
Cancel
Save