Re: [Machinekit] Machinekit Running Out of Memory Error Cramps + BBB

2017-05-04 Thread schoone...@btinternet.com


On 04/05/17 08:11, Peter wrote:

Hello,
i have a error i believe is related to axis preview and running out of 
memory. Any help would be gratefully appreciated on a solution. I have 
tried [User Command] Disable_Preview = Yes.

thank you in advance,
   Peter


The USER_COMMAND in your ini file will have the same effect as using 
(AXIS, hide) at the top of your gcode file

but try that as well
http://www.machinekit.io/docs/gui/axis/#axis-preview-control

Does it work with a smaller gcode file?

The bottom line unfortunately is that Axis was never intended for huge 
slicer generated gcode files for plastic squirting, whilst running on a 
very limited ARM board.
If you run tklinux or one of the non preview GUIs that should work, so 
will splitting your file down to manageable sections.

Or heaven forbid, using a proper computer:-P


--
website: http://www.machinekit.io blog: http://blog.machinekit.io github: 
https://github.com/machinekit
--- 
You received this message because you are subscribed to the Google Groups "Machinekit" group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to machinekit+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.


[Machinekit] Machinekit Running Out of Memory Error Cramps + BBB

2017-05-04 Thread Peter
Hello,
i have a error i believe is related to axis preview and running out of 
memory. Any help would be gratefully appreciated on a solution. I have 
tried [User Command] Disable_Preview = Yes.
thank you in advance,
   Peter
the following is the error log output. for some reason i could not copy the 
kernel information but here is what i think is what is related and throwing 
errors.
/usr/bin/linuxcnc: line 816:  6201 Killed  $EMCDISPLAY -ini 
"$INIFILE" $EMCDISPLAYARGS $EXTRA_ARGS
4870
  PID TTY  STAT   TIME COMMAND
6200
  PID TTY  STAT   TIME COMMAND
 6200 ?SL 0:20 milltask -ini 
/home/machinekit/machinekit/configs/CoreXYZ/CRAMPS.ini
  PID TTY  STAT   TIME COMMAND
 6200 ?SL 0:20 milltask -ini 
/home/machinekit/machinekit/configs/CoreXYZ/CRAMPS.ini
  PID TTY  STAT   TIME COMMAND
 6200 ?SL 0:20 milltask -ini 
/home/machinekit/machinekit/configs/CoreXYZ/CRAMPS.ini
  PID TTY  STAT   TIME COMMAND
 6200 ?SL 0:20 milltask -ini 
/home/machinekit/machinekit/configs/CoreXYZ/CRAMPS.ini
  PID TTY  STAT   TIME COMMAND
 6200 ?SL 0:20 milltask -ini 
/home/machinekit/machinekit/configs/CoreXYZ/CRAMPS.ini
  PID TTY  STAT   TIME COMMAND
 6200 ?SL 0:20 milltask -ini 
/home/machinekit/machinekit/configs/CoreXYZ/CRAMPS.ini
  PID TTY  STAT   TIME COMMAND
Stopping realtime threads
halcmd: cant connect to rtapi_app: -1 (uri= 
uuid=a42c8c6b-4025-4f83-ba28-dad21114744a): rtapi_rpc(): reply timeout

halcmd: the rtapi:0 RT demon is not running - please investigate 
/var/log/linuxcnc.log
Unloading hal components
halcmd: cant connect to rtapi_app: -1 (uri= 
uuid=a42c8c6b-4025-4f83-ba28-dad21114744a): rtapi_rpc(): reply timeout

halcmd: the rtapi:0 RT demon is not running - please investigate 
/var/log/linuxcnc.log
halcmd: cant connect to rtapi_app: -1 (uri= 
uuid=a42c8c6b-4025-4f83-ba28-dad21114744a): rtapi_rpc(): reply timeout

halcmd: the rtapi:0 RT demon is not running - please investigate 
/var/log/linuxcnc.log
halcmd: cant connect to rtapi_app: -1 (uri= 
uuid=a42c8c6b-4025-4f83-ba28-dad21114744a): rtapi_rpc(): reply timeout

halcmd: the rtapi:0 RT demon is not running - please investigate 
/var/log/linuxcnc.log
halcmd: cant connect to rtapi_app: -1 (uri= 
uuid=a42c8c6b-4025-4f83-ba28-dad21114744a): rtapi_rpc(): reply timeout

halcmd: the rtapi:0 RT demon is not running - please investigate 
/var/log/linuxcnc.log
halcmd: cant connect to rtapi_app: -1 (uri= 
uuid=a42c8c6b-4025-4f83-ba28-dad21114744a): rtapi_rpc(): reply timeout

halcmd: the rtapi:0 RT demon is not running - please investigate 
/var/log/linuxcnc.log
halcmd: cant connect to rtapi_app: -1 (uri= 
uuid=a42c8c6b-4025-4f83-ba28-dad21114744a): rtapi_rpc(): reply timeout

halcmd: the rtapi:0 RT demon is not running - please investigate 
/var/log/linuxcnc.log
halcmd: cant connect to rtapi_app: -1 (uri= 
uuid=a42c8c6b-4025-4f83-ba28-dad21114744a): rtapi_rpc(): reply timeout

halcmd: the rtapi:0 RT demon is not running - please investigate 
/var/log/linuxcnc.log
halcmd: cant connect to rtapi_app: -1 (uri= 
uuid=a42c8c6b-4025-4f83-ba28-dad21114744a): rtapi_rpc(): reply timeout

halcmd: the rtapi:0 RT demon is not running - please investigate 
/var/log/linuxcnc.log
halcmd: cant connect to rtapi_app: -1 (uri= 
uuid=a42c8c6b-4025-4f83-ba28-dad21114744a): rtapi_rpc(): reply timeout

halcmd: the rtapi:0 RT demon is not running - please investigate 
/var/log/linuxcnc.log
halcmd: cant connect to rtapi_app: -1 (uri= 
uuid=a42c8c6b-4025-4f83-ba28-dad21114744a): rtapi_rpc(): reply timeout

halcmd: the rtapi:0 RT demon is not running - please investigate 
/var/log/linuxcnc.log
halcmd: cant connect to rtapi_app: -1 (uri= 
uuid=a42c8c6b-4025-4f83-ba28-dad21114744a): rtapi_rpc(): reply timeout

halcmd: the rtapi:0 RT demon is not running - please investigate 
/var/log/linuxcnc.log
[10112.148724] Out of memory: Kill process 4897 (rtapi:0) score 86 or 
sacrifice child
[10112.156938] Killed process 4897 (rtapi:0) total-vm:63832kB, 
anon-rss:48244kB, file-rss:10756kB












*Here is my ini file with the axis preview disable. I moved it around into 
different areas but currently it is near the beginning.*












[PRUCONF]
DRIVER=hal_pru_generic
CONFIG=pru=0 num_stepgens=4 num_pwmgens=6 pru_period=3500
PRUBIN=xenomai/pru_generic.bin


[EMC]

# Name of machine, for use with display, etc.
MACHINE =   MendelMax-CRAMPS

# Debug level, 0 means no messages. See src/emc/nml_int/emcglb.h for others
#DEBUG =0x0003
#DEBUG =0x0007
DEBUG = 0

[USER_COMMANDS]

DISABLE_PREVIEW = YES


[DISPLAY]

# Name of display program, e.g., tkemc
#DISPLAY = tkemc
#DISPLAY = gscreen
DISPLAY = axis

# Touchy currently won't work without some hardware buttons/jog-wheel
#DISPLAY = touchy

# Cycle time, in seconds, that display will sleep between polls
CYCLE_TIME =0.200

# Path to help file
HELP_FILE = tklinucnc.txt