skip to main content
Defense > Programmer's documentation > Developing with the JViews Diagrammer SDK > Performance enhancements > Global performance improvements
 
Global performance improvements
Rogue Wave® JViews is a comprehensive set of Java™ components, tools and libraries for creating diagram-based editing, visualization, supervision and monitoring tools.
To stop memory copy slowing down the Java Virtual Machine for you custom application, the initial heap size must be set to the amount of memory used when the application is running in its cruise state. This maximum heap size is computed either by using the API or through a profiling tool. A list of profiling tools can be found at http://www.java-source.net/open-source/profilers.
You set the initial and final heap size using the -Xmx and -Xms command line parameters for the JVM™. For example, to set the minimum heap size to 130 megabytes and maximum heap size to 150 megabytes, using the following arguments:
java -Xmx150m -Xms130m -jar myApp.jar
If you open a dashboard diagram stored in binary format, you do not need to set the heap size of the virtual machine to be so large. For more information see the Binary dashboard format.

Copyright © 2018, Rogue Wave Software, Inc. All Rights Reserved.