block memory usage example