Ok so I've been playing with the modified webserver
which runs the GC on a timer. To test it I made a little Felix program
that shells out to curl 1000 times (i.e. loads the same page 1000 times).

Then I launched it from the shell in background 15 times, so we have
15,000 page requests, roughly 15 simulatenously. 

I also use Firefox to load some pages manually whilst this was happening.

Felix webserver is FAST. Only a small delay loading pages.
At the end it says

actually collected 2 objects, still allocated: 24 roots, 193 objects, 17502 
bytes

This data is invariant. It's the same before and after. So at least according 
to the GC stats, the GC is working perfectly, and there's no leak.

The actual process memory usage is a bit harder to monitor:
I don't have a graph. But it looks reasonable stable after an initial
spate of increasing. After starting, but no page loads:

RPRVT    RSHRD     RSIZE     VPRVT   VSIZE
584K     240K      2460K     28M     2391M

After a spate of loads:
24M      244K     34M      43M    2406M

Then iTerm crashed .. the webserver is more reliable .. :)

I give up. I think it works, no leak.


--
john skaller
skal...@users.sourceforge.net
http://felix-lang.org




------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
_______________________________________________
Felix-language mailing list
Felix-language@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/felix-language

Reply via email to