anchor.diff:  init([MgrSup, SessId]) ->
       ?debug("Initializing event manager for session ~p", [SessId]),
       process_flag(trap_exit, true),
  -    init_memory(),
  +    init_memory(SessId),
       Self = self(),
       {ok, SessId} = session:update(SessId, fun(Session = #session{}) ->
           {ok, Session#session{event_manager = Self}}
  
positive.code:     RequestCtx = get_context(Request),
      case RequestCtx of
          undefined ->
              oneprovider:get_id_or_undefined();
          {file, FileCtx} ->
              FileGuid = file_ctx:get_guid_const(FileCtx),
              case get_from_memory(Manager, guid_to_provider, FileGuid) of
  
negative.code:     orelse is_record(Type, file_renamed_event)
      orelse is_record(Type, quota_exceeded_event) ->
      {ok, #document{value = #session{proxy_via = ProxyVia}}} = session:get(SessId),
      utils:ensure_defined(ProxyVia, undefined, self);
  get_provider(_, SessId, FileCtx) ->
      ProviderId = oneprovider:get_id(),
      case file_ctx:is_root_dir_const(FileCtx) of
  