﻿---
title: High RSS memory usage due to MADV settings
description: In versions of Auditbeat prior to 7.10.2, the go runtime defaults to MADV_FREE by default. In some cases, this can lead to high RSS memory usage while...
url: https://docs-v3-preview.elastic.dev/elastic/beats/pull/48499/reference/auditbeat/madvdontneed-rss
applies_to:
  - Elastic Stack: Generally available in 9.0+
---

# High RSS memory usage due to MADV settings
In versions of Auditbeat prior to 7.10.2, the go runtime defaults to `MADV_FREE` by default. In some cases, this can lead to high RSS memory usage while the kernel waits to reclaim any pages assigned to Auditbeat. On versions prior to 7.10.2, set the `GODEBUG="madvdontneed=1"` environment variable if you run into RSS usage issues.