Cinelerra: MWindow::init_shm: /proc/sys/kernel/shmmax is 0x1000000 It should be at least 0x7ffffff

by on July 10, 2012 · 0 comments· LAST UPDATED July 10, 2012

in ,

I'm trying to use Cinelerra video editing and compositing software under Linux operating systems. However, I'm getting the following error:

MWindow::init_shm: /proc/sys/kernel/shmmax is 0x1000000.
It should be at least 0x7ffffff for cinelerra.

How do I fix this problem?

Before running Cinelerra you need to increase the value of shmmax. This value can be used to query and set the run time limit on the maximum shared memory segment size that can be created. Shared memory segments up to 1Gb are now supported in the kernel. This value defaults to SHMMAX. If this value is smaller you will see the error as follows on screen:

Cinelerra Error

To fix this problem edit /etc/sysctl.conf file, enter: the following line (must be run as the root):
# vi /etc/sysctl.conf
Append the following line

 
kernel.shmmax=2147483647
 

Save and close the file. Type the following command to activate the settings:
# sysctl -p

TwitterFacebookGoogle+PDF versionFound an error/typo on this page? Help us!

{ 0 comments… add one now }

Leave a Comment

Tagged as: , , , , , , , , , , ,

Previous Faq:

Next Faq: