Hi Wu, So I assume your application hung after it's attached. What OS and TPTP version are you using? Could you send me the full log file? What kind of application are you trying to profile? Would you please continue this discussion on the TPTP newsgroup ( news://news.eclipse.org/eclipse.tptp , or web interface ) so everyone can follow the thread there easily. Regards, ____________________________________________
Eugene Chan IBM Toronto Laboratory, Canada email: [EMAIL PROTECTED] pwa: D1-649 | tieline: 313-6102 voice: 1.905.413.6102 | fax: 1.905.413.4850 "吴跃冰" <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 08/23/2008 12:31 PM Please respond to TPTP Tracing and Profiling Tools Project developer discussions <tptp-tracing-profiling-tools-dev@eclipse.org> To tptp-tracing-profiling-tools-dev@eclipse.org cc Subject [tptp-tracing-profiling-tools-dev] Profiling show no information when I use attach to an existing process method Hi. I met issue when profiling my application. I appreciate your any answer or tips. I want to see why my app cost so many memory, so I launch an java application out of eclipse with following arguments *** -agentlib:JPIBootLoader=JPIAgent:server=controlled;HeapProf:allocsites=true *** after it launched, I attach to it and at first I can get some log like this: -------------------------------------------------------------------------------------------------START------------------- ============================================= Process ID: 2684 Process command line: Machine name: BENNY-DEV ============================================= Type Date Time TID Level Client Message Informative 08/23/08 12:27:59 2324 0 CJVMTIInterface Using JVMTI Informative 08/23/08 12:30:10 2324 0 CJavaInstrumentorManager Using Martini Heap Instrumentation Technology Informative 08/23/08 12:30:10 2324 3 CJVMTIInterface [GetLineNumberTable] user-supplied buffer is too short. table size = 17, buffer size = 1, buffer actual size = 17) Informative 08/23/08 12:30:10 2324 3 CJVMTIInterface [GetLineNumberTable] user-supplied buffer is too short. table size = 24, buffer size = 1, buffer actual size = 24) Informative 08/23/08 12:30:11 2324 3 CJVMTIInterface [GetLineNumberTable] user-supplied buffer is too short. table size = 4, buffer size = 1, buffer actual size = 4) Informative 08/23/08 12:30:11 2324 3 CJVMTIInterface [GetLineNumberTable] user-supplied buffer is too short. table size = 13, buffer size = 1, buffer actual size = 13) Informative 08/23/08 12:30:11 2324 3 CJVMTIInterface [GetLineNumberTable] user-supplied buffer is too short. table size = 5, buffer size = 1, buffer actual size = 5) Informative 08/23/08 12:30:11 2324 3 CJVMTIInterface [GetLineNumberTable] user-supplied buffer is too short. table size = 5, buffer size = 1, buffer actual size = 5) Informative 08/23/08 12:30:11 2324 3 CJVMTIInterface [GetLineNumberTable] user-supplied buffer is too short. table size = 5, buffer size = 1, buffer actual size = 5) Informative 08/23/08 12:30:11 2324 3 CJVMTIInterface [GetLineNumberTable] user-supplied buffer is too short. table size = 44, buffer size = 1, buffer actual size = 44) Informative 08/23/08 12:30:11 2324 3 CJVMTIInterface [GetLineNumberTable] user-supplied buffer is too short. table size = 18, buffer size = 1, buffer actual size = 18) ... so many lines -------------------------------------------------------------------------------------------------END------------------- and after some while, this log stop to grow and my app stop to run (at least seems stop to run) from the start to the end, I can not see anything from profiling monitor view (I can see process when I launch profiling app from eclipse) I am not sure what is the issue here. Could you help me? -- Best Regard [EMAIL PROTECTED] tptp-tracing-profiling-tools-dev mailing list tptp-tracing-profiling-tools-dev@eclipse.org https://dev.eclipse.org/mailman/listinfo/tptp-tracing-profiling-tools-dev
_______________________________________________ tptp-tracing-profiling-tools-dev mailing list tptp-tracing-profiling-tools-dev@eclipse.org https://dev.eclipse.org/mailman/listinfo/tptp-tracing-profiling-tools-dev