FineReport performance tuning methods, finereport Performance Tuning
The basic idea of FineReport performance optimization is to properly set the memory size of the application server.
Generally, the default memory configuration of the server is relatively small. In larger application projects, this memory is not enough. Therefore, you need to increase the memory size during processing.
The memory configuration methods for each application server are different. The following lists the JVM parameters (-Xms,-Xmx) for common servers. JVM Parameter definition:-Xms: initial memory size-Xmx: maximum memory available Tomcat server in Windows through % atat_home %/bin/catalina. bat (modify catalina in Unix. sh file. find setJPDA = in the bat file and add the following red lines after it:
Jboss Server
The memory modification on the Jboss server is relatively simple, such as Jboss4.2. You only need to set the memory parameters in the run. bat file under % Jboss_home % \ bin.
For example:
Weblogic Server
The Weblogic Server modifies the StartWeblogic. cmd file in the project directory of bea \ user_projects \ domains,
For example, C: \ bea \ user_projects \ domains \ base_domain \ StartWeblogic. cmd to configure the virtual memory of the Weblogic Server.
Weblogic8.1:
Edit StartWeblogic. cmd, add set MEM_ARGS =-Xms256m-Xmx512m to the row on set SERVER_NAME, and add % MEM_ARGS % in Classpath. Save the settings, as shown in: