Meaningless Drivel is fun!*
The moose likes Performance and the fly likes Using profiling tool while load testing the appication Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Performance
Bookmark "Using profiling tool while load testing the appication" Watch "Using profiling tool while load testing the appication" New topic
Author

Using profiling tool while load testing the appication

sandeep mk
Greenhorn

Joined: Mar 31, 2011
Posts: 3
Hi,

Little clarification needed about using a profiling tool during load testing the applications

Am using JProfiler for profiling my application. using weblogic 9.2 server. I want to look into memory consumption of my application since its taking too much memory during execution (load testing) and too much GC will occupy CPU time as well. So i tried memory profiling with jprofiler 6.2.2 on my application. For a single run its fine. But what i really want to test is that how the memory looks when server is under load, which am not able to because the JVM is crashing every time i start load testing with profiler. Am using webload for load generation.

My doubt is should profiling tool be used during heavy load testing of application ? If yes, then what am i doing wrong because of which my JVM is crashing.


Thanks,
Sandeep




Matt Cartwright
Ranch Hand

Joined: Aug 25, 2008
Posts: 149

my approach would be to switch GC to verbose mode, have it writing to a file and analyze the file after the load test run.
Will be one file per Managed Server and I cannot quote any Java command line options as they are vendor specific.
Are you using JRockIt, HotSpot, IBM or else?
sandeep mk
Greenhorn

Joined: Mar 31, 2011
Posts: 3
Am using Jrockit. I want to analyze the Heap behavior under load. I'll try the verbose mode and see if i can get more information about heap usage. I wanted to use jprofiler during load testing because it'll be easy to analyze the results and interpret the same.
 
GeeCON Prague 2014
 
subject: Using profiling tool while load testing the appication