1. An information processing apparatus comprising: a memory that caches therein data blocks stored in a storage device; and a processor that performs a process including detecting a stream of access satisfying prescribed regularity conditions, based on a positional relationship on the storage device among a plurality of first data blocks accessed, generating stream information indicating the stream, associating sequence information with each of a plurality of second data blocks prefetched based on the stream information from the storage device to the memory, the sequence information representing a positional relationship on the storage device among the plurality of second data blocks, searching, when one of the plurality of second data blocks is accessed, the plurality of second data blocks for one or more other second data blocks that are determined to be earlier in an order of access made by the stream than the one second data block, based on the sequence information, and removing the one or more other second data blocks from the memory.