发明名称 MEMORY LEAK DETECTION
摘要 In accordance with aspects of the disclosure, systems and methods are provided for monitoring one or more classes for detecting suspected memory leaks in a production environment. The systems and methods may include identifying which of the one or more classes hold at least one static or non-static field of collection or array type, accessing the one or more classes that hold the at least one static or non-static fields of collection or array type, and tracking a size for each field of each class by periodically sampling the size of each field over an interval, processing the size data for each field of each class, and detecting suspected memory leaks of each class by identifying which of the one or more fields of each class exhibits suspect behavior in the size over the interval.
申请公布号 US2014189438(A1) 申请公布日期 2014.07.03
申请号 US201213732197 申请日期 2012.12.31
申请人 BMC SOFTWARE, INC. 发明人 Arbel Gilad;Koren Eyal;Dafner Asaf
分类号 G06F11/30 主分类号 G06F11/30
代理机构 代理人
主权项 1. A system including instructions stored on a non-transitory computer readable storage medium and executable by at least one processor, the system comprising: a collection sizes tracker configured to cause the at least one processor to monitor one or more containing classes for detecting suspected memory leaks in a production environment, the collection sizes tracker including: an instrumentation manager configured to identify which of the one or more containing classes hold at least one static or non-static field of collection or array type,a polling mechanism configured to access the one or more containing classes that hold the at least one static or non-static fields of collection or array type, and track a size for each field of each containing class by periodically sampling the size of each field over an interval, the one or more fields of each containing class enabling instances of each containing class to maintain at least one of state and behavior, andan algorithm handler configured to process the size data for each field of each containing class from the polling mechanism and detect suspected memory leaks of each containing class by identifying which of the one or more fields of each containing class exhibits suspect behavior in the size over the interval.
地址 Houston TX US