Skip to content

[2.38] bmalloc: check WPE_RAM_SIZE#1421

Merged
magomez merged 1 commit intoWebPlatformForEmbedded:wpe-2.38from
LibertyGlobal:RDK-588_bmalloc_use_WPE_RAM_SIZE
Oct 22, 2024
Merged

[2.38] bmalloc: check WPE_RAM_SIZE#1421
magomez merged 1 commit intoWebPlatformForEmbedded:wpe-2.38from
LibertyGlobal:RDK-588_bmalloc_use_WPE_RAM_SIZE

Conversation

@tomasz-karczewski-red
Copy link
Copy Markdown

WPE_RAM_SIZE env can be used to control the reported available total ram (WTF/wtf/RAMSize.cpp). Bmalloc is unaware of this setting, leading to discrepancy between the current memory pressure status as seen by bmalloc & reset of wpe, which makes bmalloc uneager to scavenge & return memory to the system on time.

WPE_RAM_SIZE env can be used to control the reported available
total ram (WTF/wtf/RAMSize.cpp). Bmalloc is unaware of
this setting, leading to discrepancy between the current
memory pressure status as seen by bmalloc & reset of wpe, which makes
bmalloc uneager to scavenge & return memory to the system on time.
@magomez magomez merged commit 84f4018 into WebPlatformForEmbedded:wpe-2.38 Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

3 participants