This means that rclone has run out of virtual memory.
What do you see when you type ulimit -v on your box?
Assuming you aren’t running out of actual memory (which is a possibility) you should try to increase that ulimit value. Where exactly you do that in your system I’m not sure though…
rclone runs just fine when I run it from ssh as root (it’s a headless machine). But whenever I put it in the script (which is run from the transmission-daemon user) it has that error.
OK, sounds like you need to investigate the ulimts the daemon gives it. You could try getting it to run a bash script with ulimit -v in to see what that says.
unlimited is the tradtitional setting… Rclone uses a lot of virtual memory which it might not actually need backing with real RAM. So if you want a limit, set twice the actual amount of RAM maybe?
2018/02/17 18:43:01 NOTICE: Config file "/.rclone.conf" not found - using defaults
2018/02/17 18:43:01 Failed to create file system for "gapps:Movies": didn't find section in config file