-
Notifications
You must be signed in to change notification settings - Fork 334
Open
Labels
Milestone
Description
I found out in #14069 that our package tests are running inside a docker container with very limited shared memory available. According to my research, it is only 64 Mb by default, while it can take multiple gigabytes on a typical user machine.
Low shared memory limit can cause crashes of Chrome renderer when running the app without special Chrome options:
- enable-native-gpu-memory-buffers: true
Enable native CPU‑mappable GPU memory buffer support (primarily for Linux) - ignore-gpu-blocklist: true
Override Chrome’s blocked GPU list to allow GPU acceleration on otherwise blocked hardware.
Surprisingly, both these options are required to make our package viable. We should rather increase shared memory allocation using --shm-size flag for docker, and remove these Chrome options from electron-client/index.ts.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
❓New