Skip to content
Snippets Groups Projects
  1. Mar 21, 2012
  2. Mar 16, 2012
  3. Mar 15, 2012
  4. Mar 14, 2012
  5. Mar 13, 2012
  6. Mar 12, 2012
  7. Mar 11, 2012
  8. Mar 07, 2012
  9. Feb 29, 2012
  10. Feb 28, 2012
    • Konstantin Osipov's avatar
      A (reviewed) fix for Bug#928222 Memory leak when . · 5a7f9984
      Konstantin Osipov authored
      A fix for Bug#928222 Memory leak when running a long
      stored procedure.
      
      An original patch was prepared done by Alexey Demakov.
      
      When running a long stored procedure, the server could
      allocate a lot of memory in the fiber garbage collected
      pool, when performing requests in a loop.
      
      To fix the bug, garbage collect memory after every call to
      rw_callback() from stored procedures module.
      
      Add ptruncate() method to palloc, which rolls back
      used memory to a saved position and use it in box_lua.m.
      
      Since VALGRIND MEMPOOL API doesn't support ptruncate(),
      don't use it, instead consistently use
      VALGRIND_MAKE_MEM_DEFINED/VALGRIND_MAKE_MEM_UNDEFINED.
      
      No test case since the problem is detected by a longevity
      test, not a functional test.
      5a7f9984
    • Konstantin Osipov's avatar
  11. Feb 23, 2012
  12. Feb 22, 2012
Loading