Igalia / meta-webkit

Yocto / OpenEmbedded layer for WebKit based engines and browsers
MIT License
127 stars 69 forks source link

Early WebProcess exit on 32-bit platforms since memory limit is zero #415

Closed psaavedra closed 1 year ago

psaavedra commented 1 year ago

Describe the bug

Backport this patch from upstream: https://github.com/WebKit/WebKit/commit/b0895ea02d480a799a9826620683d6b49ccdaf21

In 250548@main, the memory limit in MemoryPressureHandler is set to a
least 7 GB for active process.
This value is stored in a size_t variable, but this is limited to 4 GB
on 32-bit platforms.

The memory limit is truncated down to 0, which triggers a WebProcess
exit after the first MemoryPressure check.

To Reproduce

Not needed

Expected behavior

not needed

Screenshots

not needed

Environment (please complete the following information):

Additional context none

github-actions[bot] commented 1 year ago

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] commented 1 year ago

This issue was closed because it has been stale for 7 days with no activity.

github-actions[bot] commented 1 year ago

This issue was closed because it has been stale for 7 days with no activity.