This section describes how to start the Profiler and how to work with various features of the Profiler’s graphical user interface. This information is organized as follows:
Because the Profiler is very memory intensive, you should significantly increase the memory for both your server and the Netbeans Java Virtual Machine (JVM).
To increase your server’s memory,
Open the Netbeans window and select the Runtime tab.
Expand the Servers node, right-click Bundled Tomcat, and select Properties from the menu.
When the Server Manager dialog displays, clear the Enable HTTP Monitor box on the Connection tab.
Select the Platform tab, set VM Options to -Xmx1024M, and then click Close.
To increase the Netbeans JVM memory,
Open the netbeans-installation-dir \etc\netbeans.conff file and locate the following line:
netbeans_default_options="-J-Xms32m -J-Xmx ...
Change the -J-Xmx value to -J-Xmx 1024M.
Save, and then close the file.
When you are finished, start the Profiler using the instructions provided in the Starting the Profiler section.
You can use any of the following methods to start the Profiler from the Waveset IDE window:
Click the Start Identity Manager Profiler on Main Project icon located on the menu bar.
Select Window -> IDM Profiler from the menu bar.
The Identity Manager Profiler window appears in the Explorer. From this window, select an Waveset project from Current Project drop-down menu, and then click the Start Identity Manager Profiler icon located in the Controls section.
The Start Identity Manager Profiler on Main Project icon is enabled when the main Waveset project is version 7.1 Update 1 or later.
Right-click a project in the Projects window, and then select Start Identity Manager Profiler from the pop-up menu.
Select a project in the Projects window, and then select IdM -> Start Identity Manager Profiler from the menu bar.
When you start the Profiler, the Profiler Options dialog displays so you can specify which profiling options you want to use. Instructions for setting these options are provided in Specifying the Profiler Options.
To disable the Waveset Profiler, import the following configuration update:
lh import file
where file contains
<?xml version='1.0' encoding='UTF-8'?> <!DOCTYPE Waveset PUBLIC 'waveset.dtd' 'waveset.dtd'> <Waveset> <ImportCommand class='com.waveset.session.SystemConfigurationUpdater'> <Object> <Attribute name='serverSettings.default.disableProfiling'> <Boolean>true</Boolean> </Attribute> </Object> </ImportCommand> </Waveset> |