You are not logged in.

#1 2017-07-04 22:12:23

jamesarm97
Member
Registered: 2017-02-02
Posts: 68

Getting error message executing external scripts

I need to add a script to do something after the print is complete but it looks like all the external calls I am making now result in this error message. I know this use to work and the pi was rebooted recently. Running build 1556. I even tried something simple like: [[Exec echo 5 > /home/pi/test.txt]]

2017/07/04 22:06:59.947857 {"Layer":"1","module":"Gcode","level":"Error","msg":"External Call Problem fork/exec /bin/sh: cannot allocate memory"}

Offline

#2 2017-07-05 04:15:21

Shahin
Administrator
Registered: 2016-02-17
Posts: 1,834

Re: Getting error message executing external scripts

Please, check your system memory usage data. It could not get memory from OS to run external command/program.

Offline

#3 2017-07-05 13:09:31

jamesarm97
Member
Registered: 2017-02-02
Posts: 68

Re: Getting error message executing external scripts

I knew I should have posted that at the time. I had plenty of memory when I did TOP from the command line. Almost no swap used and seems line plenty of free ram left to be allocated. I will test again and get the numbers.

Offline

Board footer

Powered by FluxBB