# Sync failed with error "Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory"

**URL:** https://forum.duniter.org/t/sync-failed-with-error-ineffective-mark-compacts-near-heap-limit-allocation-failed-javascript-heap-out-of-memory/11236
**Category:** Duniter-v1
**Tags:** duniter, sync
**Created:** [7 June 2023 07:39 UTC](https://forum.duniter.org/t/sync-failed-with-error-ineffective-mark-compacts-near-heap-limit-allocation-failed-javascript-heap-out-of-memory/11236 "2023-06-07T07:39:12Z")
**Posts on this page:** 1
**Showing post:** 6

<div class="post-metadata">

### Author: ![Pini](https://forum.duniter.org/user_avatar/forum.duniter.org/pini/32/6819_2.png) [@Pini](https://forum.duniter.org/u/Pini)
#### Post date: [29 May 2023 13:39 UTC](https://forum.duniter.org/t/sync-failed-with-error-ineffective-mark-compacts-near-heap-limit-allocation-failed-javascript-heap-out-of-memory/11236/6 "2023-05-29T13:39:05Z")

</div>

Avec la branche 1.8 je pense qu’il faut plus que 4Go de RAM maintenant. Peux-tu essayer en ajoutant cette variable d’environnement ?

```auto
export NODE_OPTIONS=--max-old-space-size=8192

```

---

_[View the full topic](https://forum.duniter.org/t/sync-failed-with-error-ineffective-mark-compacts-near-heap-limit-allocation-failed-javascript-heap-out-of-memory/11236)._
