http://www.g-raffa.eu/Cinelerra/HOWTO/installation.html
How to approach the Cinelerra error message you get at start up
When you start Cinelerra you get an error message saying:
The following errors occurred:
void MWindow::init_shm0: WARNING:/proc/sys/kernel/shmmax is 0x2000000, which is too low.
Before running Cinelerra do the following as root:
echo "0x7ffffff">/proc/sys/kernel/shmmax
Actually this message is not an error, but rather a reminder.
shmmax is a configurable kernel parameter that defines the system-wide maximum allowable shared memory. Shared Memory (shm) is an efficeint means of passing data between programs. One program will create a memory portion which other processes can access. This error message asks you to increase the shared memory allocated by default on the Linux kernel.
What to do?
Option 1:
Ignore this message. You won’t get in any trouble because of this.
Option 2:
Do what you are told. That is open a terminal and type:
sudo echo "0x7ffffff">/proc/sys/kernel/shmmax
This command will increase the shared memory during your work session.
Option 3:
Open a terminal and type:
sudo sysctl -w kernel.shmmax=0x7fffffff
This way you have increased the shared memory permanently.
|
You can obtain the same effect by manually editing the configuration file for setting system variables.
Open a terminal and type:
sudo gedit /etc/sysctl.conf
At the bottom of the file, add those lines:
# Make Cinelerra happy
kernel.shmmax=0x7fffffff
Save and close.
This is another way to increase the shared memory permanently. |
Bookmarks