ASA Programming Guide
Using Java in the Database
This section describes the memory requirements for running Java in the database and how to set up your server to meet those requirements.
The Java VM requires a significant amount of cache memory.
For information on tuning the cache, see Using the cache to improve performance.
The Java VM uses memory on both a per-database and on a per-connection basis.
The per-database requirements are not relocatable: they cannot be paged out to disk. They must fit into the server cache. This type of memory is not for the server; it is for each database. When estimating cache requirements, you must sum the requirements for each database you run on the server.
The per-connection requirements are relocatable, but only as a unit. The requirements for one connection are either all in cache, or all in the temporary file.