jam231 / sia

Stock market server (part of stock market simulation system).
1 stars 0 forks source link

Memory leak in server #73

Closed jam231 closed 10 years ago

jam231 commented 10 years ago

After running few consecutive benchmarks (https://github.com/jam231/sia-clients/blob/master/Benchmarking/simple.rb) I've noticed that server's memory usage increases with each run of benchmark, and does not decrease when benchmark is completed.

jam231 commented 10 years ago

Ok, false alarm. I forgot that that deallocation via free/delete is not eager. Valgrind showed nothing and while I've been testing server more intensively it had behaved rather well.