[ardour-dev] "Maximum amount of locked memory" error!

muadib at in.gr muadib at in.gr
Sun Jan 21 13:53:23 PST 2007


Hello!

I just compiled Ardour-2.beta11.1, no errors.The following message is returned when I try to run ardour2:

---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

"Ulimit -l" returns a value of 32. Even if I change it with e.g."ulimit -l 128", the result is the same. The file /etc/security/limits.conf has the following lines:


#
#Each line describes a limit for a user in the form:
#
#<domain>        <type>  <item>  <value>
#
#Where:
#<domain> can be:
#        - an user name
#        - a group name, with @group syntax
#        - the wildcard *, for default entry
#        - the wildcard %, can be also used with %group syntax,
#                 for maxlogin limit
#
#<type> can have the two values:
#        - "soft" for enforcing the soft limits
#        - "hard" for enforcing hard limits
#
#<item> can be one of the following:
#        - core - limits the core file size (KB)
#        - data - max data size (KB)
#        - fsize - maximum filesize (KB)
#        - memlock - max locked-in-memory address space (KB)
#        - nofile - max number of open files
#        - rss - max resident set size (KB)
#        - stack - max stack size (KB)
#        - cpu - max CPU time (MIN)
#        - nproc - max number of processes
#        - as - address space limit
#        - maxlogins - max number of logins for this user
#        - priority - the priority to run user process with
#        - locks - max number of file locks the user can hold
#
#<domain>      <type>  <item>         <value>
#

#*               soft    core            0
#*               hard    rss             10000
#@student        hard    nproc           20
#@faculty        soft    nproc           20
#@faculty        hard    nproc           50
#ftp             hard    nproc           0
#@student        -       maxlogins       4

# End of file

FC3, 512Mb RAM, Athlon 900MHz, SBLive!

I hope I won't have to buy extra RAM for ardour to work...

Thank you.



More information about the Ardour-Dev mailing list