You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by nickva <gi...@git.apache.org> on 2018/10/16 19:54:20 UTC

[GitHub] couchdb-snappy issue #9: Fix memory bug in SnappyNifSink::Append

Github user nickva commented on the issue:

    https://github.com/apache/couchdb-snappy/pull/9
  
    To check for memory leaks ran the snappy compression decompression test in a loop
    
    ```
     rebar shell
    ==> couchdb-snappy (shell)
    Erlang/OTP 20 [erts-9.3.3.1] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:10] [hipe] [kernel-poll:false]
    
    Eshell V9.3.3.1  (abort with ^G)
    1> cd("test").
    
    2> c(snappy_tests).
    
    3> [begin snappy_tests:test(), timer:sleep(10) end || _ <- lists:seq(1,10000)].
    ...
    ```
    
    Memory stayed at 40+/2 Mb


---