From ddff39ac2a2ec80c2b0beaa02d6a1310c4d686d5 Mon Sep 17 00:00:00 2001 From: Kees <6692947+Sicos1977@users.noreply.github.com> Date: Mon, 11 Mar 2024 13:49:08 +0100 Subject: [PATCH] Update README.md --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index d4488d8..978368c 100644 --- a/README.md +++ b/README.md @@ -285,6 +285,13 @@ To make the library work the flag --no-sandbox will be set by default (on Window converter.AddChromiumArgument("--no-sandbox") ``` +When Chrome crashes for unknown reasons in a docker container +============================================================= + +On most desktop Linux distributions, the default /dev/shm partition is large enough. However, on many cloud providers using Docker containers (such as the Google App Engine Flexible Environment) or Heroku, the default /dev/shm size is appreciably smaller (64MB and 5MB, respectively). On these platforms it's impossible to change the size of /dev/shm, which makes using Chrome difficult or impossible. This is particularly an issue for those who want to take advantage of its new headless mode. + +If it is not possible to change the partition size than add the flag `--disable-dev-shm-usage` to tell Chrome not to use this parition + Core Team ========= Sicos1977 (Kees van Spelde)