I am investigating probable memory leaks in my application. I was planning to use Netbeans profiler for it. But when i run the profiler on my app i get the following error:
Profiler Agent: Waiting for connection on port 5140, timeout 10 seconds (Protocol version: 8)
Profiler Agent Error: Timed out trying to establish connection with client
Profiler Agent: Initializing...
Profiler Agent: Options: >C:\Program Files\NetBeans 6.5.1\profiler3\lib,5140,10<
Profiler Agent: Initialized succesfully
Java Result: -1
BUILD SUCCESSFUL (total time: 10 seconds)
Assuming its taking longer to connect to the server, I tried increasing the timeout value but i could not find a way to do so. Any pointers as to what could be the possible issue here would be appreciated.
p.s.: Tried googling the issue but with little luck.