GLBasic forum

Main forum => GLBasic - en => Topic started by: UBERmonkeybot on 2015-Sep-20

Title: Error when running HTML5
Post by: UBERmonkeybot on 2015-Sep-20
when i try to run in a browser i get this

Cannot enlarge memory arrays. Either (1) compile with -s TOTAL_MEMORY=X with X higher than the current value 16777216, (2) compile with ALLOW_MEMORY_GROWTH which adjusts the size at runtime but prevents some optimizations, or (3) set Module.TOTAL_MEMORY before the program runs.


Could anyone tell me what's going on here and how i can remedy it.
Thanks

M
Title: Re: Error when running HTML5
Post by: Qedo on 2015-Sep-20
perhaps it can be useful:
http://www.glbasic.com/forum/index.php?topic=8544.msg83221#msg83221
Title: Re: Error when running HTML5
Post by: UBERmonkeybot on 2015-Sep-20
Cool thanks.