]> code.delx.au - pulseaudio/commitdiff
shm: bump shm size limit to 1GB
authorLennart Poettering <lennart@poettering.net>
Fri, 14 Aug 2009 02:14:35 +0000 (04:14 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 14 Aug 2009 02:14:35 +0000 (04:14 +0200)
src/pulsecore/shm.c

index 6e4284269aa1ee5d253e105ef7716ed54d09710f..fbf777a4687e87d7f2dbd1847bee7b3942b4c048 100644 (file)
@@ -60,7 +60,8 @@
 #define MADV_REMOVE 9
 #endif
 
-#define MAX_SHM_SIZE (PA_ALIGN(1024*1024*64))
+/* 1 GiB at max */
+#define MAX_SHM_SIZE (PA_ALIGN(1024*1024*1024))
 
 #ifdef __linux__
 /* On Linux we know that the shared memory blocks are files in