Form Caching Limits

Hi,

Trying to get as many forms ‘pre-loaded’ as possible for faster navigtion.
Expanded the VM heap size, Doing about 65 forms in all. Have seen obvious performance gains with some forms but not others.

Is there a best-practice for this?

Is there a limit on the number of forms cached, or is this left entirely up to the VM?

Is there anyway to meter how well this is working, which forms are chached?

Thanks

Hi,

I guess best practice is that what your users accept.

You can see memory usage by opening the about dialog. It is non-modal and you can have it open all the time (on developer).

Metering the # of cached forms is not possible as far as I know.

one tip also is, that if you don’t need a foundset to be loaded at startup, that you use: foundset.clearFoundset() in the onLoad of a form.

loading of forms, will be MUCH quicker.

In Servoy 3, there is a method now, where you can shut-off data-loading on all forms.