(resolved) gravity.sh out of memory.

Getting this error when running gravity.sh

/usr/local/bin/gravity.sh: xmalloc: ../bash/subst.c:3571: cannot allocate 94906779 bytes (201375744 bytes allocated)

Using raspberrypi A

This error comes up in apache2 error log

/var/www/linuxdash/server/modules/shell_files/general_info.sh: line 16: /usr/bin/lsb_release: No such file or directory
/bin/grep: /var/log/syslog: No such file or directory

Hi rogern,

This will occur if you run out of memory while the gravity script is working. You will need to increase your swapfile size to 500MB or more.
This can be done in dietpi-config, under “Advanced options” then reboot to apply the changes.

Not sure about the linuxdash one, but the syslog error is expected, its harmless. Syslog is not installed by default on DietPi systems.
If log files are critical to your systems operation, you can use dietpi-software to set your Log system to "full"