The present invention discloses a single-process
dynamic storage management method based on a
Hash table, which comprises: initializing the
Hash table; applying for a dynamic memory; releasing the dynamic memory; carrying out real-time routing inspection; creating an empty
Hash table; and storing
dynamic storage applying information. In the dynamic memory applying process, related information of applying for the memory is stored into the Hash table and overflow flags are set; in the dynamic memory releasing process, the Hash table is searched, the memory is released if related pointers are searched, or an alarm is given; and in the real-time routing inspection and calling process, whether overflow of the dynamic memory exists or not is judged; by checking
overflow flag words in memory areas in Hash table nodes one by one, the sizes of all memory spaces in the Hash table are added, the sum of the memory spaces is stored according to the frequency of storing for once at intervals of one hour, and whether the memory overflow risk exists or not is judged. According to the present invention, progress
idle time is used to monitor and check the use condition of the dynamic memory in real time, a monitoring result is sent to a frame by a
message queue, the frame takes charge of carrying out organizing and providing an inquiring function, and the single-process
dynamic storage management method has wide application prospect.