basho / eleveldb

Erlang LevelDB API
263 stars 176 forks source link

Add a 10% fuzz factor to the resident memory calc (intermittent test failure "fixes") #243

Closed russelldb closed 6 years ago

russelldb commented 6 years ago

On some platforms (or on ubuntu-16.04 server in my lab at least) this test fails going a little over the expected max resident memory. However, even with loads more loops, a 10% fuzz factor is enough for it to pass. If there is a leak, it is a marginal one that never grows above 10% of the best case, which is good enough, since this code has been in the wild long enough.

martincox commented 6 years ago

+1.