Description:
If you receive the message "Java out of memory cannot create more threads", it is likely that you had recently added many file triggers (maybe hundreds) prior to getting this message.
Solution:
In order to increase the amount of memory for threads from the default, add the following line in the cybAgent script:
export LDR_CNTRL=MAXDATA=0x80000000
and then recycle the agent.