Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Memory Analysis"

(New page: == Memory Analysis : Identify a memory leak == Memory leak problem can be identify with the help of Memory Analysis. Memory Analysis can be enabled in the launch configuration by selecti...)
 
(Memory Analysis : Identify a memory leak)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
== Memory Analysis : Identify a memory leak ==
 
== Memory Analysis : Identify a memory leak ==
Memory leak problem can be identify with the help of Memory Analysis. Memory Analysis can be enabled in the  
+
Memory leak problem can be identify with the help of Memory Analysis. Memory Analysis can be enabled in the launch configuration by selecting '''Memory Analysis''' type of a Java profiler.
 
+
launch configuration by selecting '''Memory Analysis''' type of a Java profiler.
+
 
::[[Image:Sanp23.jpg]]
 
::[[Image:Sanp23.jpg]]
If allocation detail information is required, enable the '''Track Object Allocation Site''' option in the  
+
If allocation detail information is required, enable the '''Track Object Allocation Site''' option in the Edit Option detail of the analysis type.
 
+
Edit Option detail of the analysis type.
+
 
::[[Image:Sanp24.jpg]]
 
::[[Image:Sanp24.jpg]]
Double-clicking on the profile agent opens the '''Memory Statistics''' view which shows memory related  
+
Double-clicking on the profile agent opens the '''Memory Statistics''' view which shows memory related information of an application under profiled.
 
+
information of an application under profiled.
+
 
::[[Image:Sanp26.jpg]]
 
::[[Image:Sanp26.jpg]]
Selecting any class instance in the table and switch to the '''Allocation Details''' tab gives more  
+
Selecting any class instance in the table and switch to the '''Allocation Details''' tab gives more information about the allocation of the selected class.  
 
+
'''Note''' that allocation details is available only when '''Track Object Allocation Site''' option is enabled in the profile configuration.
information about the allocation of the selected class. Note that allocation details is available only when  
+
 
+
'''Track Object Allocation Site''' option is enabled in the profile configuration.
+
 
::[[Image:Sanp27.jpg]]
 
::[[Image:Sanp27.jpg]]
In the view, array information is also traced. They are shown as type[] for array or type[][] for two-
+
In the view, array information is also traced. They are shown as type[] for array or type[][] for two-dimensional array and so on.
 
+
dimensional array and so on.
+
 
::[[Image:Sanp28.jpg]]
 
::[[Image:Sanp28.jpg]]
 +
  
  
 
-------------------------
 
-------------------------
Return to the [[Profiling with TPTP - plug-in developmeet]] page.
+
←[[Profiling with TPTP - plug-in developmeet|Back to the Profiling with TPTP - plug-in development page]]
 +
 
 +
←[[TPTP|Back to the TPTP wiki page]]

Latest revision as of 15:14, 10 October 2008

Memory Analysis : Identify a memory leak

Memory leak problem can be identify with the help of Memory Analysis. Memory Analysis can be enabled in the launch configuration by selecting Memory Analysis type of a Java profiler.

Sanp23.jpg

If allocation detail information is required, enable the Track Object Allocation Site option in the Edit Option detail of the analysis type.

Sanp24.jpg

Double-clicking on the profile agent opens the Memory Statistics view which shows memory related information of an application under profiled.

Sanp26.jpg

Selecting any class instance in the table and switch to the Allocation Details tab gives more information about the allocation of the selected class. Note that allocation details is available only when Track Object Allocation Site option is enabled in the profile configuration.

Sanp27.jpg

In the view, array information is also traced. They are shown as type[] for array or type[][] for two-dimensional array and so on.

Sanp28.jpg



Back to the Profiling with TPTP - plug-in development page

Back to the TPTP wiki page

Back to the top