Articles in this section

Unable to allocate shared memory for multilayer - UCJV300-ML, HP Latex-700/800/R2000

Issue:

When sending a 5-layer file the following errors could occur:

  • Send Data error: RPC connection failed.
  • Driver exit with error
  • Unable to allocate shared memory for multilayer. This error appears only after some other erros , after restarting the message disappear.

The job is blocked on the spooler with message "waiting" and nothing happens in the printer.

 

Problem:

Unable to allocate shared memory for multilayer- Not enough memory

 

Solution 1:

Increase memory for multilayer (applies to a Linux and a MacOS based installation prior to Yosemite)

 

  1. Go to the /etc folder and create a txt file named sysctl.conf
  2. Add the following lines:
  •  
    • kern.sysv.shmmax=167772160
    • kern.sysv.shmseg=16

leticia___nano___80_24.png

 

    3. Reboot the PC

 

Solution 2: MacOS Yosemite and newer.

Since /etc/sysctl.conf is no longer parsed at boot with newer MacOS versions we will be using a plist file with a LaunchDaemon as an alternative. 

To apply the changes, run the attached package installer (sysctl_installer.pkg) by right-clicking and selecting

 "Open" (required due to the package being unsigned). 

The installer updates the following settings: 

- kern.sysv.shmmax: 167772160 

- kern.sysv.shmseg: 16 

 

A reboot is required for these changes to take effect, as they are loaded during system startup.

 

Optional:

To check if these settings were properly applied:

Open Terminal and enter:
 
sysctl kern.sysv.shmmax kern.sysv.shmseg
 
 

 

 

 

 

 

 

 

Was this article helpful?
1 out of 2 found this helpful