METHODS AND APPARATUSES FOR DETERMINING PERMANENT MEMORY GROWTH
First Claim
Patent Images
1. A computer implemented method, comprising:
- obtaining a plurality of snapshots for resource usage at different times, each snapshot indicating a collection of resource objects already allocated at a time of the snapshot;
correlating the plurality of snapshots, the correlation identifying permanent resource objects from the collection of resource objects; and
filtering the plurality of snapshots based on the correlation, wherein the filtered snapshots indicating the permanent resource objects identified.
1 Assignment
0 Petitions
Accused Products
Abstract
Methods and apparatuses that correlate a plurality of snapshots of system resources to identify allocation of permanent resource objects are described. Each snapshot may include an inventory of resource objects already allocated at the time of the snapshot. The plurality of snapshots may be taken at different instants over a period of time. Temporarily allocated resource objects may be filtered from the plurality of snapshots to identify permanent resource objects according to the correlation among the plurality of snapshots.
42 Citations
19 Claims
-
1. A computer implemented method, comprising:
-
obtaining a plurality of snapshots for resource usage at different times, each snapshot indicating a collection of resource objects already allocated at a time of the snapshot; correlating the plurality of snapshots, the correlation identifying permanent resource objects from the collection of resource objects; and filtering the plurality of snapshots based on the correlation, wherein the filtered snapshots indicating the permanent resource objects identified. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A computer implemented method, comprising:
-
obtaining a snapshot of a first collection of memory nodes allocated for a system running an application having an execution state at a first instant; performing a repeatable action of the application subsequent to the first instant, wherein the application maintains the execution state after the repeatable action; obtaining a snapshot of a second collection of memory nodes allocated for the system running the application at a second time instance subsequent to the repeatable action; and identifying one or more memory nodes from the first and second collections of memory nodes, the identified memory nodes representing permanent memory growth of the application along the first and second instants. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16)
-
-
17. A machine-readable storage medium having instructions, when executed by a machine, cause the machine to perform a method, the method comprising:
-
obtaining a plurality of snapshots for system resource at different times, each snapshot indicating a collection of resource objects already allocated at a time of the snapshot; correlating the plurality of snapshots, the correlation identifying permanent resource objects from the collection of resource objects; and filtering the plurality of snapshots based on the correlation, wherein the filtered snapshots indicating the permanent resource objects identified.
-
-
18. A machine-readable storage medium having instructions, when executed by a machine, cause the machine to perform a method, the method comprising:
-
obtaining a snapshot of a first collection of memory nodes allocated for a system running an application having an execution state at a first instant; performing a repeatable action of the application subsequent to the first instant, wherein the application maintains the execution state after the repeatable action; obtaining a snapshot of a second collection of memory nodes allocated for the system running the application at a second time instance subsequent to the repeatable action; and identifying one or more memory nodes from the first and second collections of memory nodes, the identified memory nodes representing permanent memory growth of the application along the first and second instants
-
-
19. An apparatus, comprising:
-
a memory storing executable instructions; a user interface device; a processor coupled to user interface device and the memory to execute the executable instructions from the memory, the processor being configured to; obtain a snapshot of a collection of memory nodes allocated in the memory for an application; perform a repeatable action of the application subsequent to the obtaining the snapshot; repeat the obtaining the snapshot and the repeatable action; correlate representations of collections of memory nodes among multiple iterations to identify permanent memory nodes leaked by the repeatable action for each of the multiple iterations; and presenting a history of the permanent memory nodes leaked by the repeatable action across the multiple iterations.
-
Specification