Skip to content

Commit

Permalink
fix quarto-cli/issues/10072
Browse files Browse the repository at this point in the history
(cherry picked from commit ef46668)
  • Loading branch information
cscheid authored and cderv committed Sep 16, 2024
1 parent c12341b commit 8467c24
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/troubleshooting/index.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ If `$XDG_DATA_HOME` is set, `${XDG_DATA_HOME}/.local/share/quarto/logs`, otherwi

### Out-of-memory issues

When building a large project or website, you might run into memory limits. In that case, consider the following environment variable.
When building a large project or website, you might run into memory limits. In that case, consider adjusting the `QUARTO_DENO_V8_OPTIONS` environment variable.

In this example, we're setting the maximum amount of memory to be allocated by Deno to be 8GB. Adjust this to your computer's limits.

Expand All @@ -116,15 +116,15 @@ In this example, we're setting the maximum amount of memory to be allocated by D
On PowerShell:

```powershell
$env:QUARTO_DENO_EXTRA_OPTIONS = "--v8-flags=--max-old-space-size=8192"
$env:QUARTO_DENO_V8_OPTIONS = "--max-old-space-size=8192"
```

## Unix

On bash-like shells:

```bash
export QUARTO_DENO_EXTRA_OPTIONS=--v8-flags=--max-old-space-size=8192
export QUARTO_DENO_V8_OPTIONS=--max-old-space-size=8192
```

:::
Expand Down

0 comments on commit 8467c24

Please sign in to comment.