Skip to main content

Product: OpenFusion TimeService

Version: ALL

 

Description:

We have noticed that when running the timeservice over about five days or so it eventually runs out of memory.

The situation can be recreated by running ${OPENFUSION_HOME}/bin/run com.prismt.cos.CosTime.examples.Time.TimeExample
in a loop - I am running the following in three simultaneous shells:

while true ; do
./bin/run com.prismt.cos.CosTime.examples.Time.TimeExample
done

I am monitoring the memory using the Memory Profiler in the manager GUI and memory usage is increasing steadily.

 

Resolution:

Object Purging allows the Time Service to clean up Universal Time Objects that are being continually requested.

If this is not enabled then these objects will be held in memory and it is likely the service will run out of memory. 

Object Cache Maximum Size, Object Cache Minimum Size and Object Cache Purge Interval can be used to control how often the objects are purged from memory.


#TimeService
#OpenFusion
#KnowledgeDocs
#OpenFusionCORBAService