Re-usable Objects Cache (-reusableObjects)
- Last Updated: January 26, 2026
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
Use Re-usable Objects Cache (-reusableObjects) to specify the number of deleted class objects that the AVM
stores for later re-initialization.
| Operating system and syntax | UNIX / Windows |
-reusableObjects
cache-size
|
||
|---|---|---|---|---|
| Use with | Maximum value | Minimum value | Single-user default | Multi-user default |
| Client Session | 2147483647 | 0 | 25 | 25 |
- cache-size
- Number of deleted class objects to store for later re-initialization.
This parameter can improve the performance of applications that use ABL
classes. When a class object is deleted, either by the DELETE
OBJECT statement or through garbage collection, the AVM caches the object. When
the AVM instantiates the same class later, the stored object is re-initialized and removed
from the cache. This reuse saves much of the overhead of instantiating a class.
The cached class objects continue to hold some resources. You might want to modify the settings of Directory Size (-D) and Maximum Memory (-mmax) to account for the number of cached objects.
For more information about the reuse of objects, see DELETE OBJECT statement in ABL Reference and Garbage collection in Develop Object-oriented ABL Applications.