Hello, everyone:
I keep reading data from a websocket interface, and after about 2,000,000 events recieved, We will have an error in the log which was reported by "org.apache.camel.impl.engine.DefaultReactiveExecutor" :
Error executing reactive work due to unable to create native thread: possibly out of memory or process/resource limits reached. This exception is ignored. java.lang.OutOfMemoryError: unable to create native thread: possibly out of memory or process/resource limits reached at java.lang.Thread.start0(Native Method)
I increased the memory limit in the GeoEvent/etc/ArcGISGeoEvent-wrapper.cfg
# Minimum and Maximum Java Heap Sizes
wrapper.java.additional.15=-Xms1g
wrapper.java.additional.16=-Xmx16g
the above error still exist.
is there any other settings I can modify to elimiate the above outofmemory error?
Thanks a lot.