# pihole-FTL Killed by OOM

**URL:** <https://discourse.pi-hole.net/t/pihole-ftl-killed-by-oom/52853>\
**Category:** Community Help\
**Created:** [January 21, 2022, 5:11pm UTC](https://discourse.pi-hole.net/t/pihole-ftl-killed-by-oom/52853 "2022-01-21T17:11:18Z")\
**Posts on this page:** 1\
**Showing post:** 14

<div class="post-metadata">

**Author:** ![deHakkelaar](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/dehakkelaar/32/674_2.png) [@deHakkelaar](https://discourse.pi-hole.net/u/deHakkelaar)\
**Post date:** [January 23, 2022, 8:45pm UTC](https://discourse.pi-hole.net/t/pihole-ftl-killed-by-oom/52853/14 "2022-01-23T20:45:32Z")

</div>

For a Pi, you can even change the memory split if dont use any graphical desktop features etc:

> gpu\_mem
> 
> Specifies how much memory, in megabytes, to reserve for the exclusive use of the GPU: the remaining memory is allocated to the ARM CPU for use by the OS. For Pis with less than 1GB of memory, the default is 64; for Pis with 1GB or more of memory the default is 76.

[https://www.raspberrypi.com/documentation/computers/config\_txt.html](https://www.raspberrypi.com/documentation/computers/config_txt.html)

Run `sudo raspi-config` and select:  
Performance Options --\> GPU Memory

I've just just now as an experiment changed it into 16MB.  
Before:

```auto
pi@ph5a:~ $ free -h
              total used free shared buff/cache available
Mem: 176Mi 38Mi 51Mi 2.0Mi 86Mi 88Mi
Swap: 99Mi 41Mi 58Mi

```

After:

~~ 

```auto
pi@ph5b:~ $ free -h
               total used free shared buff/cache available
Mem: 477Mi 43Mi 317Mi 3.0Mi 116Mi 381Mi
Swap: 99Mi 0B 99Mi

```

 ~~

Wrong Pi, below is correct one:

```auto
pi@ph5a:~ $ free -h
              total used free shared buff/cache available
Mem: 224Mi 38Mi 56Mi 5.0Mi 129Mi 132Mi
Swap: 99Mi 0B 99Mi

```

```auto
pi@ph5a:~ $ cat /boot/config.txt
[..]
gpu_mem=16

```

---

_[View the full topic](https://discourse.pi-hole.net/t/pihole-ftl-killed-by-oom/52853)._
