httpinfo: reduce memory usage