[Dancer-users] Dancer occasionally eats lots of memory

Marco melmothx at gmail.com
Tue Oct 16 10:42:53 CEST 2012


"Konstantin A. Pustovalov" <lamoz at adriver.ru> writes:

> Hello guys!
>
> I have found that dancer's memory consumption is indeterminant.
> I am writing RESTful statistics service. Have discovered that dancer can consume
> lots more memory with one request than another with essentially same POST body
> size.
> Some tests: http://pastebin.com/yuy1ZKfn
> The output: http://pastebin.com/YDHqLzQh

I, too, experience large memory usage (which doesn't seem to decrease)
with non-trivial POST requests. When I investigated, I couldn't
reproduce it, so I blamed my own code for some leakage and/or the perl
lazy GC.

Sorry, I know this doesn't help much....

-- 
Marco


More information about the Dancer-users mailing list