Skip to content

BattleMatrix out of memory when running large Pokemon pool #13

@biowpn

Description

@biowpn

example input

name,fmove,cmove,cmove2,cp
"fire,water,grass","*","*","*current",1500

the error produced by Chrome:

GBS_Engine.js:1 Uncaught RuntimeError: memory access out of bounds
    at wasm-function[691]:0x16d4f
    at Module._GBS_prepare (http://127.0.0.1/src/GBS_Engine.js:1:84488)
    at ccall (http://127.0.0.1/src/GBS_Engine.js:1:6773)
    at http://127.0.0.1/src/GBS_Engine.js:1:7123
    at Object.GBS.prepare (http://127.0.0.1/src/GBS_Simulator_Interface.js:48:2)
    at http://127.0.0.1/src/GBS_BattleMatrix.js:306:13

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions