[tracker/tracker-0.6] AMD64 setrlimit() was too low



commit 17b18c690ea7a46dc75136e02010ce890002bbd5
Author: Martyn Russell <martyn imendio com>
Date:   Mon Jun 15 17:22:18 2009 +0100

    AMD64 setrlimit() was too low

 src/libtracker-common/tracker-os-dependant-unix.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/libtracker-common/tracker-os-dependant-unix.c b/src/libtracker-common/tracker-os-dependant-unix.c
index b927065..aa68e49 100644
--- a/src/libtracker-common/tracker-os-dependant-unix.c
+++ b/src/libtracker-common/tracker-os-dependant-unix.c
@@ -351,10 +351,10 @@ tracker_memory_setrlimits (void)
 	buffer = MEM_LIMIT;
 
 #ifdef __x86_64__
-	/* We double the memory here because otherwise it generally
-	 * isn't enough.
+	/* We multiply the memory limit here because otherwise it
+	 * generally isn't enough. 
 	 */
-	buffer *= 2;
+	buffer *= 12;
 #endif /* __x86_64__ */
 
 	ideal = current + buffer;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]