I wrote a small program using profiler API to selfprofile my progams. It's OK when I run it at command line. But I got the following message when I ran it under IDEA 4.5:
Cannot startAllocationsRecording
Reason: There's no application running at localhost with profiler agent configured to listen on port 10000
what's the problem here? Thanks.
errors when using Yourkit from IDEA 4.5
-
- Posts: 64
- Joined: Wed Oct 06, 2004 7:56 am
The message you are getting appears to indicate you are trying to profile the application as a web app. Is your application a java program which you run from the command line (as you said below) or a web application?
You need to make sure you configure the application run parameters correctly in IDEA for the type of application you are running. Then you should simply click the Profile button from your task bar and then select the option to Launch YourKit UI.
Sorry to assume this could be a user error, however last time I saw this problem I found I had not configured my application correctly in IDEA to start with.
You need to make sure you configure the application run parameters correctly in IDEA for the type of application you are running. Then you should simply click the Profile button from your task bar and then select the option to Launch YourKit UI.
Sorry to assume this could be a user error, however last time I saw this problem I found I had not configured my application correctly in IDEA to start with.