Re: Strange behavior of "-with-rtsopts=-T

2019-06-07 Thread Vlatko Basic
Hi Ömer, It doesn't require Postgres, I just haven't cleaned up the dependencies. My bad. :-( I pushed the cleaned version. However, noticed strange thing during testing of the cleaned package. There is no leak any more. And the problem is that I can't reproduce it, not even with previous

Re: Strange behavior of "-with-rtsopts=-T

2019-06-06 Thread Ömer Sinan Ağacan
Hi Vlatko, Unless this is a side effect of calling getrusage() (perhaps it causes the OS to update stats) I don't see how this is possible. Your reproducer seems to require postgres so I'm unable to run it. If you can provide a version that doesn't need postgres I can take a look. Ömer Vlatko

Strange behavior of "-with-rtsopts=-T

2019-06-05 Thread Vlatko Basic
Hello ghc-devs, I wrote about this issue to haskell-cafe, but received no reply as of today, so I'm hoping I could get some answer(s) here. I wrote a small Servant server that communicates with the same other server(s). When compiled without "-with-rtsopts=-T", I see in