[top]
[prev]
[next]

Documentation Top
Global Index
Reference Manual
TOC Index
Grammar Index
Developer’s Guide
TOC Index
Tuning Cloudscape
TOC Index
|
Cloudscape on Small Platforms
In most respects, applications that you develop for JVMs on "small" or mobile devices such as a PsionTM device or a Pocket PC are no different from applications that you develop for JVMs on full-size computers.
However, there are a couple of Cloudscape properties that you should be aware of:
- cloudscape.language.statementCacheSize=5
Small devices simply have less memory available to the JVM and to Cloudscape. In such environments, set the property cloudscape.language.statementCacheSize to a small number such as 5. Doing so will help you avoid running out of memory if memory resources are limited.
- cloudscape.storage.fileCacheSize=2
For devices that use the EPOC operating system, set the property cloudscape.storage.fileCacheSize=2
The EPOC operating system has a limit of 64 files per directory and a hard limit of 20 file descriptors per process. Cloudscape by default uses more than 20 file descriptors to create or use a database. Reduce the number of file descriptors used for each database by setting this property to 2, allowing Cloudscape to function and keeping the maximum number of file descriptors free for your application.
If you do not set this property you will see I/O errors when you create a database or perform many other actions.
|