Users may observe the following symptoms in Automation Analytics & Intelligence (AAI):
The jaws.log file reveals critical errors during the POST_UPDATE phase:
A corresponding warning alert may also appear: WARN [SchedulerHelper] Scheduler updates partially completed; server must be restarted to get new events.
The issue is caused by a StackOverflowError occurring during the recursive traversal of complex job dependency graphs or exceptionally large job streams.
While users often increase the Java Heap Memory (-Xmx), this does not resolve the issue because the Thread Stack Size (-Xss) is separate. When the dependency graph depth exceeds the default stack size, the JVM thread exhausted its allocated stack space, leading to a partial commit state in the database.
To resolve this issue, the JVM thread stack size must be increased to allow for deeper recursion during the reference building process.
Automation Analytics & Intelligence (application).exe.vmoptions (Windows) or jaws.sh.vmoptions (Linux)Automation Analytics & Intelligence (service).exe.vmoptions (Windows)-Xss (it may be commented out as #-Xss6m).jaws.log to ensure no further StackOverflowError messages are generated.If the error persists even after increasing the stack size to 6MB, it may indicate a circular dependency or an atypically large job stream (~25,000+ jobs). In such cases:
com.termalabs.server.app.jobstream.JobStreamBuilder to identify the specific job stream causing the failure.