Skip to content
This repository has been archived by the owner on Aug 31, 2021. It is now read-only.

Commit

Permalink
Reduce default memory size to 256 MiB
Browse files Browse the repository at this point in the history
Fixed #56
  • Loading branch information
eholk committed Jul 15, 2019
1 parent 1b6582b commit 30f5184
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rt/rt.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ class Module {

export class Engine {
constructor() {
this.memory = new WebAssembly.Memory({ initial: 16384 });
this.memory = new WebAssembly.Memory({ initial: 4096 });
this.mem_i32 = new Uint32Array(this.memory.buffer);
this.rt = rt(this);
this.input_port_data = [];
Expand Down

0 comments on commit 30f5184

Please sign in to comment.