![]() PROIV Genfile Caching Environment Variables |
![]() Virtual Machine |
![]() |
PROIV Genfile Caching Environment Variables
Genfile Caching is controlled by the following Environment Variables and these can be configured for different profiles.
Environment Variable |
Values and Description |
USECACHEDEV |
Y or N The default setting is N Enables the Genfile Cache in a Development Environment, that is when proiv.virtualMachine.vm.public.proRunType is DEV |
USECACHERUN |
Y or N The default setting is N Enables the cache when PRORUNTYPE is not set to DEV, e.g. BATCH, COMPONENT and RUN. |
CACHEMAXBYTES |
1 - 32MB The default setting is 2 The maximum size of the cache in megabytes. This is an integer between 1 and 32. 2 MB is appropriate for most applications and 1 MB for Bus and Tasks. |
CACHEFULLFLUSH |
Y or N The default setting is Y Determines the behaviour when the cache is full. If set to Y, the cache is flushed when it full. This approach is adequate and removes old data such as the LOGON function which is run once. Bus and Tasks and other single shot applications may benefit more from not flushing and keeping the old data. The best choice depends on the application. If not flushed, the cache remains until the Virtual Machine terminates. |
Topic ID: 720295