Cannot enlarge memory arrays
Trying to import a package to convert some data into a file type for me, so i can send it to the client via a base64 string. And I get this error when im converting:
"""
Cannot enlarge memory arrays. Either (1) compile with -s TOTAL_MEMORY=X with X higher than the current value 16777216, (2) compile with -s ALLOW_MEMORY_GROWTH=1 which allows increasing the size at runtime but prevents some optimizations, (3) set Module.TOTAL_MEMORY to a higher value before the program runs, or (4)
if you want malloc to return NULL (0) instead of this abort, compile with -s ABORTING_MALLOC=0
"""
Not too sure if anyone understands what this means.
0 Replies