4

After installing and starting Ardour I receive the following warning message:

WARNING: Your system has a limit for maximum amount of locked memory. This might cause Ardour to run out of memory before your system runs out of memory.

You can view the memory limit with 'ulimit -l', and it is normally controlled by /etc/security/limits.conf

How to configure properly Ardour to avoid this message?

qbi
  • 19,515

2 Answers2

7

Launch a terminal (CTRL-ALT-T) and open the file in gedit with admin priveldges:

sudo gedit /etc/security/limits.conf

Be sure that the file contains the following line:

@audio - memlock unlimited

If it doesn't exist, add it. If it does exist, be sure the line doesn't begin with a # and is below any other lines in the file beginning with @audio. This will allow any user in the audio group to avoid memlock limits. Save, close the editor, then add your user to the group by running the command

sudo adduser $USER audio

Close the terminal, log out and back in again, and reopen Ardour. The message should be gone. 

0

As it is a warning you can safely ignore it. However to change it, open the file /etc/security/limits.conf with an editor. You'll find a line there which reads:

@audio - memlock SOME_NUMBER

You can comment out this line (put a # in front of it) or change SOME_NUMBER to the word unlimited. Now Ardour should not spit out a warning.

qbi
  • 19,515