support: Customer Portal
Focused on delivering choice, investment protection and flexibility to organizations with valuable COBOL assets
 

Veryant Knowledge Base
Home > All Categories > isCOBOL General > Performance > How to have better runtime performance?
Question Title How to have better runtime performance?

Run time performance are influenced by the memory. Operations made in memory without swapping to disk are better performing. Java tries to gain memory by periodically performing a cleaning procedure called Garbage Collector; during this procedure performance are slowed down.
The more memory you provide to Java and isCOBOL, the more operations will be made in memory and Java will not invoke the Garbage Collector if enough memory is available.

The JVM memory is controlled by three option:

-Xms       Set initial Java heap size (in bytes)
-Xmx       Set maximum Java heap size (in bytes)

Where available, you should think about using the following Java options:
-server

This option is usually available only with the JDK (the JRE doesn’t provide it). It causes Java to work in server mode instead of the default client mode. The server mode causes background operations (such as file i/o) to be better performing.
For example, in order to specify a memory limit of 512 MB and the -server option, you use:
           iscrun -J-Xmx512m -J-server PROGRAM

or if you run using java.exe:
           java -Xmx512m -server PROGRAM
Authored by: Veryant Support This question has been viewed 2903 times so far.
Click Here to View all the questions in Performance category.
File Attachments File Attachments
There are no attachment file(s) related to this question.
How helpful was this article to you?
User Comments User Comments Add Comment
There are no user comments for this question. Be the first to post a comment. Click Here
Related Questions Related Questions
  1. Does Veryant have any performance benchmarks for isCOBOL?
  2. Long time to restore minimized application
  3. How can I optimize the strings management?
  4. How can I improve the startup time?
Article Information Additional Information
Article Number: 220
Created: 2013-11-21 12:04 PM
Rating: 1 Star
 
Article Options Article Options
Print Question Print this Question
Email Question Email Question to Friend
Export to Adobe PDF Export to PDF File
Export to MS Word Export to MS Word
Bookmark Article
Subscribe to Article Subscribe to Article
 
Search Knowledge Base Search Knowledge Base



 
 

© Veryant - All Rights Reserved
Veryant and isCOBOL are trademarks or registered marks of Veryant in the United States and other countries. All other marks are the property of their respective owners.