Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Test and Performance Tools Platform (TPTP) » Memory profiling a method call (How to do memory profiling on a method call)
Memory profiling a method call [message #559013] Wed, 15 September 2010 06:30 Go to previous message
Juan  is currently offline Juan
Messages: 3
Registered: September 2010
Junior Member
Hello,

I want to know the memory that a method consumes when it is called (i.e. all objects it creates as local variables, and also recursively in all methods it calls)

I use the "Profile on server" option as it is in a J2EE Spring web application.

If I specify a class filter it works fine, though the filter should be a lot more large (the class inclusion tree is large)

To make it simpler i wanted to profile all classes (no class filter) and activate the profiling just before calling my method.

If I do so (select no class filter and deselect the option "Automatically start profiling..."), and try to activate the profiling just before calling the method, I get a console error: "[Error: EC JPIAgent received message (FATAL ERROR): Internal error (see log file).]" and the server terminates!. I don't know the location of that log file...

Anyway, is there a way to do memory profile only inside the execution of a method? I've set the "method" property in the class filter but it has no effect. I don't understand how this parameter works when doing memory profile.

Thanks in advance

Juan Jose Luna
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic:Why TPTP stop profiling after server started
Next Topic:Plans for upcoming TPTP releases
Goto Forum:
  


Current Time: Tue May 21 20:36:33 EDT 2013

Powered by FUDForum. Page generated in 0.01630 seconds