Skip to content

Commit ee88cf0

Browse files
committed
Update optimization-memory-html5.md
1 parent b66c398 commit ee88cf0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/en/shared/optimization-memory-html5.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## Heap size
1+
## Heap size (HTML5)
22
The heap size of a Defold HTML5 game can be configured from the [`heap_size` field](/manuals/project-settings/#heap-size) in *game.project*. Make sure to optimize memory usage of your game and set a minimal heap size.
33

44
For small games, 32 MB is an achievable heap size. For larger games, aim for 64–128 MB. If, for example, you're at 58 MB and further optimization isn't feasible, you can settle on 64 MB without overthinking it. There’s no strict target size — it depends on the game. Just aim for smaller sizes, ideally in steps of powers of two.

0 commit comments

Comments
 (0)