Disclosed is an apparatus and a method for allocating memory for a single machine-based large capacity sparse matrix multiplication. A memory allocation method includes: identifying an entire area of a memory; The size of the first area in the memory needed to load the first sparse matrix of the two sparse matrices, the size of the second area in the memory required to load the second sparse matrix, and the result of multiplying the two sparse matrices Confirming a size of a third area in the memory to make the first area; And allocating the area of the memory according to the multiplication method of the two sparse matrices based on the total area of the identified memory and the sum of the size of the identified first area, the size of the second area and the size of the third area Step / RTI
展开▼