java.lang.OutOfMemoryError: unable to create new native thread in the log file. I've checked the memory and it uses 500 mb out of 1.5gb allocated. I searched the net and found that it could be caused by too many threads.
I've done a thread dump and found that the node called "utils" has *1074 threads* that look like this:
ComThread for Thread-1022
"ComThread for Thread-1022" Id=1497 Group=main RUNNABLE (in native)
at com4j.Win32Lock.suspend0(Native Method)