Open ylevtov opened 9 years ago
Currently I'm hacking the TOTAL_MEMORY variable in the minified JS that Emscripten produces. Would be nice to be able to add a flag to the uploader defining how much memory our app will require for loading samples etc.
var TOTAL_MEMORY=Module["TOTAL_MEMORY"]||16777216
Yes would be nice to set this from the user side.
@mhroth could we pass some variables in the POST message? i.e. js_totalmemory=16777216
js_totalmemory=16777216
Currently I'm hacking the TOTAL_MEMORY variable in the minified JS that Emscripten produces. Would be nice to be able to add a flag to the uploader defining how much memory our app will require for loading samples etc.