Use the instructions provided in Before You Begin to increase the memory for your server and Netbeans JVM.
Use any of the methods described in Starting the Profiler to start the Profiler.
When the Profiler Options dialog displays, you can specify profiling options.
Continue to Step 4: Set the Profiler Options
For detailed information about all of the different Profiler options, see Specifying the Profiler Options.