emscripten-core / emscripten-core/emscripten

Question: Size of available heap

Open
#15,930 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
27.6k
Forks
3.6k
Avg merge
1d 1h
Merged PRs (30d)
105

Description

Hi, is there any way to get

a. the size of the available heap (in ex. megabytes)
b. the size of the compressed filesystem data (if for example we used file_packager.py)

?

I also use `ALLOW_MEMORY_GROWTH`, it would be nice to gain the upper bound to which this is still possible.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.