- 27 Jun, 2014 1 commit
-
-
Matt Stancliff authored
-
- 24 Mar, 2014 1 commit
-
-
antirez authored
Obtaining the RSS (Resident Set Size) info is slow in Linux and OSX. This slowed down the generation of the INFO 'memory' section. Since the RSS does not require to be a real-time measurement, we now sample it with server.hz frequency (10 times per second by default) and use this value both to show the INFO rss field and to compute the fragmentation ratio. Practically this does not make any difference for memory profiling of Redis but speeds up the INFO call significantly.
-
- 05 Dec, 2013 1 commit
-
-
antirez authored
-
- 19 Jan, 2013 1 commit
-
-
guiquanz authored
Conflicts fixed, mainly because 2.8 has no cluster support / files: 00-RELEASENOTES src/cluster.c src/crc16.c src/redis-trib.rb src/redis.h
-
- 22 Nov, 2012 1 commit
-
-
antirez authored
-
- 19 Nov, 2012 1 commit
-
-
antirez authored
For non Linux systmes it just returns 0. This function is useful to estimate copy-on-write because of childs saving stuff on disk.
-
- 14 Nov, 2012 1 commit
-
-
antirez authored
-
- 24 Aug, 2012 2 commits
-
-
antirez authored
-
antirez authored
The previous implementation of zmalloc.c was not able to handle out of memory in an application-specific way. It just logged an error on standard error, and aborted. The result was that in the case of an actual out of memory in Redis where malloc returned NULL (In Linux this actually happens under specific overcommit policy settings and/or with no or little swap configured) the error was not properly logged in the Redis log. This commit fixes this problem, fixing issue #509. Now the out of memory is properly reported in the Redis log and a stack trace is generated. The approach used is to provide a configurable out of memory handler to zmalloc (otherwise the default one logging the event on the standard output is used).
-
- 28 Mar, 2012 2 commits
- 26 Feb, 2012 1 commit
-
-
Premysl Hruby authored
-
- 07 Feb, 2012 1 commit
-
-
antirez authored
Precision of getClientOutputBufferMemoryUsage() greatily improved, see issue #327 for more information.
-
- 16 Nov, 2011 1 commit
-
-
Chris Lamb authored
I believe that you should be able to drop 'defined(__sun)' completely from this clause, as Solaris on x86 hardware probably does not have strict alignment requirements, but I don't have a way to test that. Thanks to Jurij Smakov <jurij@wooyd.org>. Signed-off-by:
Chris Lamb <lamby@debian.org>
-
- 02 Jul, 2011 1 commit
-
-
antirez authored
-
- 20 Jun, 2011 1 commit
-
-
antirez authored
-
- 20 Jan, 2011 1 commit
-
-
antirez authored
-
- 09 Jan, 2011 2 commits
- 02 Nov, 2010 1 commit
-
-
antirez authored
-
- 23 Oct, 2010 1 commit
-
-
Pieter Noordhuis authored
Also, use tcmalloc functions explicitly via macros to prevent symbol lookups to resolve to native malloc/free on OSX.
-
- 02 Sep, 2010 2 commits
- 24 Jul, 2010 1 commit
-
-
Benjamin Kramer authored
calloc is more effecient than malloc+memset when the system uses mmap to allocate memory. mmap always returns zeroed memory so the memset can be avoided. The threshold to use mmap is 16k in osx libc and 128k in bsd libc and glibc. The kernel can lazily allocate the pages, this reduces memory usage when we have a page table or hash table that is mostly empty. This change is most visible when you start a new redis instance with vm enabled. You'll see no increased memory usage no matter how big your page table is.
-
- 01 Jul, 2010 1 commit
-
-
antirez authored
networking related stuff moved into networking.c moved more code more work on layout of source code SDS instantaneuos memory saving. By Pieter and Salvatore at VMware ;) cleanly compiling again after the first split, now splitting it in more C files moving more things around... work in progress split replication code splitting more Sets split Hash split replication split even more splitting more splitting minor change
-
- 20 Apr, 2010 1 commit
-
-
antirez authored
-
- 19 Feb, 2010 1 commit
-
-
antirez authored
A problem with replication with multiple slaves connectiong to a single master fixed. It was due to a typo, and reported on github by the user micmac. Also the copyright year fixed from many files.
-
- 15 Jan, 2010 1 commit
-
-
antirez authored
-
- 11 Jan, 2010 1 commit
-
-
antirez authored
-
- 31 Oct, 2009 1 commit
-
-
antirez authored
-
- 27 Oct, 2009 1 commit
-
-
antirez authored
-
- 23 Oct, 2009 1 commit
-
-
antirez authored
initial skiplist implementation. Most memory checks removed and zmalloc() modified to fail with an error message and abort. Anyway Redis is not designed to recover from out of memory conditions.
-
- 05 Jun, 2009 1 commit
-
-
antirez authored
-
- 04 Jun, 2009 1 commit
-
-
antirez authored
macosx specific zmalloc.c, uses malloc_size function in order to avoid to waste memory and time to put an additional header
-
- 30 Apr, 2009 1 commit
-
-
antirez authored
-
- 27 Mar, 2009 1 commit
-
-
antirez authored
-
- 22 Mar, 2009 1 commit
-
-
antirez authored
-