Method and device for monitoring memory
2009
The invention discloses a method and a device for monitoring memory, network equipment carries out sampling of self-memory use condition termly, and the sampling data is stored in a structure body. The method includes steps of firstly selecting a buffer pool for monitoring and setting monitoring period; obtaining structure body variable parameter value of the buffer pool from the structure body according to the set monitoring period, wherein the structure body variable parameter value is used for recording related information of buffer pool memory use condition; obtaining corresponding memory performance indexes by calculating obtained variable parameter value, comparing each obtained memory performance index with set corresponding threshold value, and determining the buffer pool generate memory fragment if any item of the memory performance indexes exceeds corresponding threshold value. The method provided by the present invention can effectively monitor system memory fragment phenomenon, greatly shorten problem discovery period, and perform module judgement of memory fragment problem.
Keywords:
- Correction
- Source
- Cite
- Save
- Machine Reading By IdeaReader
0
References
0
Citations
NaN
KQI