You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An execution is finished, the execution id is added to the map as follows:
@Overridepublicsynchronizedvoiddone(longjobExecutionId) {
if (logger.isLoggable(Level.FINER)) {
logger.finer("Firing callbacks for job execution id: " + jobExecutionId);
}
completedExecutions.add(jobExecutionId);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
There seems no method that reduces the size of the map, so I think it will eventually exhaust heap (Of course it depends on how many executions are done while the service is alive).
Is it necessary to check completed execution ids when calling the job-end-callbacks?
The text was updated successfully, but these errors were encountered:
I'm afraid the
completedExecutions
field in the JobEndCallbackManagerImpl consumes heap if a lot of job executions get done without restarting the 'job end callback service.'An execution is finished, the execution id is added to the map as follows:
There seems no method that reduces the size of the map, so I think it will eventually exhaust heap (Of course it depends on how many executions are done while the service is alive).
Is it necessary to check completed execution ids when calling the job-end-callbacks?
The text was updated successfully, but these errors were encountered: