A memory allocation method, comprising: determining, by a user equipment, a high speed downlink shared channel, physical layer category for memory allocation according to a first network configuration sent by a first network device, wherein the first network configuration comprises at least one high speed downlink shared channel transmission channel and a corresponding number of hybrid automatic repeat request processes; obtaining a total number of soft channel bits corresponding to the determined high speed downlink shared channel physical layer category of the user equipment according to the determined high speed downlink shared channel physical layer category; obtaining a memory size of each high speed downlink shared channel transmission channel through dividing the total number of the soft channel bits by a total number of serving or secondary serving high speed downlink shared channel cells corresponding to the determined high speed downlink shared channel physical layer category; and allocating evenly the memory size of the high speed downlink shared channel transmission channel among the hybrid automatic repeat request processes configured for a corresponding high speed downlink shared channel transmission channel in the first network configuration; wherein the total number of serving or secondary serving high speed downlink shared channel cells corresponding to the determined high speed downlink shared channel physical layer category is a total number of high speed downlink shared channel transmission channels supported by the user equipment, or a total number of high speed downlink shared channel transmission channels that can be configured at most; wherein when the user equipment supports 4*4 multiple input multiple output, and the user equipment configures 4*2 multiple input multiple output on some or all of the high speed downlink shared channel transmission channels, the allocating evenly the memory size of the high speed downlink shared channel transmission channel among the hybrid automatic repeat request processes configured for the corresponding high speed downlink shared channel transmission channel in the first network configuration specifically comprises: for each high speed downlink shared channel transmission channel configured with 4*2 multiple input multiple output, allocating evenly half of the memory size of the high speed downlink shared channel transmission channel among the hybrid automatic repeat request processes corresponding to the high speed downlink shared channel transmission channel configured with 4*2 multiple input multiple output. determining, by a user equipment, a high speed downlink shared channel, physical layer category for memory allocation according to a first network configuration sent by a first network device, wherein the first network configuration comprises at least one high speed downlink shared channel transmission channel and a corresponding number of hybrid automatic repeat request processes; obtaining a total number of soft channel bits corresponding to the determined high speed downlink shared channel physical layer category of the user equipment according to the determined high speed downlink shared channel physical layer category; obtaining a memory size of each high speed downlink shared channel transmission channel through dividing the total number of the soft channel bits by a total number of serving or secondary serving high speed downlink shared channel cells corresponding to the determined high speed downlink shared channel physical layer category; and allocating evenly the memory size of the high speed downlink shared channel transmission channel among the hybrid automatic repeat request processes configured for a corresponding high speed downlink shared channel transmission channel in the first network configuration; wherein the total number of serving or secondary serving high speed downlink shared channel cells corresponding to the determined high speed downlink shared channel physical layer category is a total number of high speed downlink shared channel transmission channels supported by the user equipment, or a total number of high speed downlink shared channel transmission channels that can be configured at most; wherein when the user equipment supports 4*4 multiple input multiple output, and the user equipment configures 4*2 multiple input multiple output on some or all of the high speed downlink shared channel transmission channels, the allocating evenly the memory size of the high speed downlink shared channel transmission channel among the hybrid automatic repeat request processes configured for the corresponding high speed downlink shared channel transmission channel in the first network configuration specifically comprises: for each high speed downlink shared channel transmission channel configured with 4*2 multiple input multiple output, allocating evenly half of the memory size of the high speed downlink shared channel transmission channel among the hybrid automatic repeat request processes corresponding to the high speed downlink shared channel transmission channel configured with 4*2 multiple input multiple output.