摘要 |
The present invention relates to a memory error recovery method for an application program, which comprises: suspending the process of the application program when the memory occupied by the application program experiences an error; waking up the error recovery program corresponding to the application program, said error recovery program being created when said application program is started; said error recovery program performing recovery on said error; if the recovery fails, closing the application program after the error recovery program stores the critical data of the application program; if the recovery is successful, the error recovery program resumes the suspended process. If the application program abnormality is caused by the memory error, memory error recovery is attempted with the pre-created error recovery program, the critical data of the application program being stored when the recovery fails, thus the reliability and security of the application program is improved. |