1. 24 8月, 2012 1 次提交
    • A
      Better Out of Memory handling. · 6fdc6354
      antirez 提交于
      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).
      6fdc6354
  2. 24 4月, 2012 2 次提交
  3. 10 4月, 2012 1 次提交
  4. 09 4月, 2012 1 次提交
  5. 03 4月, 2012 2 次提交
  6. 02 4月, 2012 5 次提交
  7. 01 4月, 2012 1 次提交
  8. 08 3月, 2012 1 次提交
  9. 25 1月, 2012 3 次提交
  10. 09 11月, 2011 1 次提交
  11. 23 10月, 2011 1 次提交
  12. 20 10月, 2011 1 次提交
  13. 17 10月, 2011 3 次提交
  14. 13 10月, 2011 1 次提交
  15. 07 10月, 2011 2 次提交
  16. 05 10月, 2011 3 次提交
  17. 03 10月, 2011 2 次提交
  18. 01 10月, 2011 3 次提交
  19. 29 9月, 2011 2 次提交
  20. 22 9月, 2011 1 次提交
  21. 20 6月, 2011 1 次提交
  22. 14 5月, 2011 1 次提交
  23. 13 5月, 2011 1 次提交