docs: public void releaseAll() {
          synchronized(this) {
              Object[] refSet = allocatedMemoryReferences.values().toArray();
              if(refSet.length != 0) {
                  logger.finer("Releasing allocated memory regions");
              }
              for(Object ref : refSet) {
                  release((MemoryReference) ref);
              }
          }
      }