# Automated backups not being triggered because cannot allocate memory

**URL:** <https://meta.discourse.org/t/automated-backups-not-being-triggered-because-cannot-allocate-memory/64265>\
**Category:** Product Support\
**Created:** [June 9, 2017, 8:59pm UTC](https://meta.discourse.org/t/automated-backups-not-being-triggered-because-cannot-allocate-memory/64265 "2017-06-09T20:59:33Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![yanokwa](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/yanokwa/32/105083_2.png) [@yanokwa](https://meta.discourse.org/u/yanokwa)\
**Post date:** [June 9, 2017, 8:59pm UTC](https://meta.discourse.org/t/automated-backups-not-being-triggered-because-cannot-allocate-memory/64265/1 "2017-06-09T20:59:34Z")

</div>

Manual backups (local and to S3) work great, but automated backups don’t seem to work. Any ideas why?

**Settings**

 ![](https://global.discourse-cdn.com/meta/original/3X/f/1/f1619c0674962a485eb326e91f5500220d92b9ba.png)

**Errors ~ 6 minutes after trigger**

```plaintext
Job exception: Cannot allocate memory - fork(2)

/var/www/discourse/lib/backup_restore/backup_restore.rb:160:in `fork'
/var/www/discourse/lib/backup_restore/backup_restore.rb:160:in `start!'
/var/www/discourse/lib/backup_restore/backup_restore.rb:15:in `backup!'
/var/www/discourse/app/jobs/regular/create_backup.rb:8:in `execute'
/var/www/discourse/app/jobs/base.rb:154:in `block (2 levels) in perform'

```

**Ram**

```plaintext
root@discourse-app:/var/www/discourse# free -mh
              total used free shared buff/cache available
Mem: 992M 664M 72M 137M 255M 50M
Swap: 2.0G 1.0G 1.0G

```

---

_[View the full topic](https://meta.discourse.org/t/automated-backups-not-being-triggered-because-cannot-allocate-memory/64265)._
