-
Notifications
You must be signed in to change notification settings - Fork 13
Description
Console printf:
Uncaught abort("Cannot enlarge memory arrays. Either (1) compile with -s TOTAL_MEMORY=X with X higher than the current value 33554432, (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 ") at Error
I edit the Makefile
em++ -O1 $(TOTALMEMORY) -o $@ $^ -s EXPORTED_FUNCTIONS=$(h264symbols) -s TOTAL_MEMORY=67108864 -s ALLOW_MEMORY_GROWTH=1 -s ABORTING_MALLOC=0 -Iopenh264/codec/api/svc/
The error is still exists, How can I fix this problem?
PS:
My Environment is Windows10. My Chrome edition is 58.0.3029.110