Abstract:Through the summary of the common memory errors research in the geophysical software development process,we design and implement a dynamic memory detection tool based on C/C++ by using the embedded and key function interception,which can expand and improve the compiler open interface.Through the real-time collection,classification,statistic and analysis of the heap memory usage in the running process of software,the tool achieves dynamic monitoring and detection of false memory stack.We take the NEWS software subsystem of prestack and poststack joint interpretation module process as an example to test and apply it comprehensively.The practice shows that the monitor,embedded in the software,can greatly reduce the memory leak phenomenon during the development process,and decrease the runtime memory errors caused by abnormal collapse phenomenon,and improve the stability of the application software.It also plays a strong role in the development to help tester's in rapid location and analysis of software errors.