Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Sicos1977 committed Mar 11, 2024
1 parent a24cca6 commit ddff39a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit ddff39a

Please sign in to comment.