% if _get["choice"] == "dogarbagecollect" _hb.clean GC.start #Clean all Knj::Objects used in the application. ObjectSpace.each_object(Knj::Objects) do |objects| objects.clean_all end Knj::Web.redirect("?show=debug_memory_usage") end %>
Active sessions | <%=_hb.num(_hb.sessions.length, 0)%> |
Total sessions | <%=_hb.num(_hb.ob.list(:Session, "count" => true), 0)%> |