code: public void initializeLocalMemoryContexts(String allocationTag)
      {
          this.userLocalMemoryContext = userAggregateMemoryContext.newLocalMemoryContext(allocationTag);
          this.revocableLocalMemoryContext = revocableAggregateMemoryContext.newLocalMemoryContext(allocationTag);
          this.systemLocalMemoryContext = systemAggregateMemoryContext.newLocalMemoryContext(allocationTag);
      }
docs: This method has to be called to initialize the local memory contexts. Otherwise, calls to methods
  localUserMemoryContext(), localSystemMemoryContext(), etc. will fail.