### Limiting the number of simultaneously open reports

Whether or not an open DHTML report interacts with the server, it holds many resources. As a result, opening many reports will decrease server performance. Thus, JReport allows the administrators to specify the maximum number of DHTML reports that can be opened at the same time so as to prevent large number of DHTML reports from being opened simultaneously and to improve the server performance.

To set the maximum number of DHTML reports that can be open at the same time:

1. On the JReport Administration page, click Profile on the system toolbar, then click Configure DHTML Profile on the task bar of the Profile page.
2. Click the Properties > Advanced tab.
3. Check the Maximum Number of Open Reports option and type the number to your requirement in the text box.
4. Click Save upon finishing.

If the number of open reports exceeds the limit, an error page will be displayed prompting you to close one before opening a new one.

Note: The Maximum Number of Open Reports option works together with the maximum number of concurrent reports allowed by your product license. Of these two values, whichever is smaller will be used as the real maximum number of open reports allowed. For example, if the value of the Maximum Number of Open Reports option is 10, and the number that the license allows is 20, 10 will be used as the maximum number of DHTML reports that can be opened simultaneously; however, 10 non-DHTML reports may use the remaining licenses.