Insufficient memory for signal/pin

More
27 Aug 2010 00:50 #3894 by GStewart
Insufficient memory for signal/pin was created by GStewart
While connecting my MPG to my latest retrofit, I encountered the "Insufficient memory for signal ...." message while loading EMC2

I rem'd out all my extra signals (I have not yet connected the toolchanger).

It switched to "Insufficient memory for pin ...."

So I removed some Classicladder assignments and I got it to come back up.

This machine has 64 Inputs and 32 Outputs connected to two Motenc boards, plus the 6 axis MPG from CNC4PC through the parallel port.

The computer has 2GB of memory.

I am a Linux newbie, is this a memory allocation problem or ???

Thanks
Glenn Stewart

Please Log in or Create an account to join the conversation.

More
27 Aug 2010 07:17 #3897 by cmorley
Replied by cmorley on topic Re:Insufficient memory for signal/pin
what version of EMC are you using? The HAL memory limit has been raised a couple of times along the way.

Please Log in or Create an account to join the conversation.

More
07 Sep 2010 22:31 #4044 by GStewart
Replied by GStewart on topic Re:Insufficient memory for signal/pin
Sorry for the delay responding, I have been busy running machines.
I am using version 2.3.0 on this machine.
Thanks
Glenn

Please Log in or Create an account to join the conversation.

More
08 Sep 2010 08:17 #4050 by cmorley
Replied by cmorley on topic Re:Insufficient memory for signal/pin
in release 2.3.2 the HAL memory was increased. I would try upgrading to at least that release and try again.

Please Log in or Create an account to join the conversation.

More
25 Aug 2015 22:52 - 24 Mar 2016 19:14 #61788 by HalaszAttila
Replied by HalaszAttila on topic Insufficient memory for signal/pin
Hello,
I currently working on a retrofitting a turret punching machine (Trump - Trumatic 180) with LinuxCNC, and I also met with this "Insufficient memory for pin..." error message.
If I delete some code from *.HAL file, the LinuxCNC starts without error message.
But I cant continue coding without more HAL memory...
Can anybody help me how to increase HAL memory size, and then how to rebuild LinuxCNC? (I am newbie in Linux... )

LinuxCNC version: 2.6 @ Debian.

H. Attila.
Last edit: 24 Mar 2016 19:14 by HalaszAttila.

Please Log in or Create an account to join the conversation.

More
26 Aug 2015 18:39 #61805 by cncbasher
Replied by cncbasher on topic Insufficient memory for signal/pin
version 2.3 is so old , as we are now on v 2.6.9
perhaps updating will help , as a lot has changed in the meantime
The following user(s) said Thank You: HalaszAttila

Please Log in or Create an account to join the conversation.

More
27 Aug 2015 01:29 #61816 by HalaszAttila
Replied by HalaszAttila on topic Insufficient memory for signal/pin
Hello,

We use version 2.6.x. What to do in this situation?

Please Log in or Create an account to join the conversation.

More
27 Aug 2015 16:37 - 27 Aug 2015 16:38 #61832 by cncbasher
Replied by cncbasher on topic Insufficient memory for signal/pin
try changing the value memlock in /etc/security/limits.d/limits.conf
i have not tried this myself , so it may not do as you wish , but worth a try
Last edit: 27 Aug 2015 16:38 by cncbasher.

Please Log in or Create an account to join the conversation.

More
07 Aug 2017 19:41 #97122 by Nico2017
Replied by Nico2017 on topic Insufficient memory for signal/pin
Hi,

I am facing the same issue with LinuxCNC 2.8.0

Before modifying the file in /etc/security/limits.d/limits.conf I would like to be sure about what it is suppose to do exactly. Which value should be modified? I tried to modify it and obtained always the same issue: insufficient memory for signal ... Has anyone managed to get rid of it, extending the memory doing some modification in this file?

Does this also mean that we are limited in the amount of signal/pin that we can create? Once the limit reached, which likely triggers this error, I would like to be able to extend it as I am already using a lot of signal an planning to use even more.

Thanks,
Nicolas

Please Log in or Create an account to join the conversation.

More
08 Aug 2017 16:51 #97188 by andypugh
Replied by andypugh on topic Insufficient memory for signal/pin
How many pins do you have? I am wondring if this is a genuine out-of-memory problem.

Which HAL component is being loaded when it goes wrong?

Please Log in or Create an account to join the conversation.

Time to create page: 0.073 seconds
Powered by Kunena Forum