Quarto segfaults when using Workbench

Follow

When using Posit Workbench, if you use a User or Group profiles to set less than 8(eight) GB of memory - like this example:

# /etc/rstudio/profile
[*]
max-memory-mb = 2048

 

Your Quarto users will see segfault errors:

/usr/local/bin/quarto: line 148: 138431 Segmentation fault (core dumped) 
"${QUARTO_DENO}" ${QUARTO_ACTION} ${QUARTO_DENO_OPTIONS} ${QUARTO_DENO_EXTRA_OPTIONS}
"${QUARTO_IMPORT_ARGMAP}" "${QUARTO_TARGET}" "$@"

 

This is a known issue, unfortunately caused by the Quarto dependency v8 requiring 8GB of memory to start.

 

Update: this minimum value is increasing, depending on the version of Quarto - version 1.6 will require 64GB of memory.

 

The solution is to make sure that the in the profile is set to 8GB or above:

# /etc/rstudio/profile
[*]
max-memory-mb = 8192

 

Comments