Question:
We are running Policy Server, when an Active Expression is triggered, we'd
like to know :
- How safe it is to execute System.gc() in Active Expression within
static synchronized block ?
- Will the execution of System.gc() affect the rest of the executing
Active Expression ?
- Will it affect JVM instance running for Policy Server ?
Answer:
Generally there should not be any issue with explicitly calling
system.GC, having said that this kind of test case has never been QA
tested. Ideally the JVM should be doing the memory management.
KB : KB000115316