# Segmentation fault

**URL:** <https://help.nextcloud.com/t/segmentation-fault/109484>\
**Category:** ℹ️ Support\
**Tags:** update\_problems, php74, nc21\
**Created:** [March 1, 2021, 9:05am UTC](https://help.nextcloud.com/t/segmentation-fault/109484 "2021-03-01T09:05:45Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![adi-dev](https://help.nextcloud.com/user_avatar/help.nextcloud.com/adi-dev/32/1411_2.png) [@adi-dev](https://help.nextcloud.com/u/adi-dev)\
**Post date:** [March 1, 2021, 10:29am UTC](https://help.nextcloud.com/t/segmentation-fault/109484/2 "2021-03-01T10:29:02Z")

</div>

Changed php.ini in /etc/php/8.0/cli/php.ini from `-1` to `4G` and now have error while trying to run occ command:

```auto
PHP Fatal error: Allowed memory size of 4294967296 bytes exhausted (tried to allocate 20480 bytes) in /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php on line 133

```

edit:  
memory\_limit = 8G

```auto
PHP Fatal error: Allowed memory size of 8589934592 bytes exhausted (tried to allocate 20480 bytes) in /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php on line 133

```

memory\_limit = 512M

```auto
PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 266240 bytes) in /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php on line 133

```

---

_[View the full topic](https://help.nextcloud.com/t/segmentation-fault/109484)._
