A scheme of multiresonator quantum memory based on a system of four interacting resonators connected through a common resonator to an external carrier by means of switchable coupling has been studied. The parameters of the resonators and the frequency spectrum of the system under study have been optimized using algebraic methods. It has been shown that these parameters allow efficient controlled reversible transfer of information into quantum memory with arbitrarily long storage. Possible applications of the developed scheme for quantum processing have been discussed.