Hi Team,
I am facing below error while working with continuous query listener. We are
receiving high number of events matching to various continuous query listeners
which result into below exception. Though task every thread s doing is really
very small (Not at all time consuming).
Any guideline on below one? Is it like thread after finishing work not going to
pool?
<gfe:cq-listener-container id="cqListenerContainer" cache="event-cache">
<gfe:listener ref="eventListener" query="SELECT * FROM /Event
WHERE entityType='A' and entitySubType IN SET ('A1','A2') and
status='PENDING'"/>
</gfe:cq-listener-container>
[http-nio-8088-exec-14] ERROR o.a.c.c.C.[.[.[.[dispatcherServlet]
Servlet.service() for servlet [dispatcherServlet] in context with path [] threw
exception [Handler dispatch failed; nested exception is
java.lang.OutOfMemoryError: unable to create new native thread] with root cause
java.lang.OutOfMemoryError: unable to create new native thread
at java.lang.Thread.start0(Native Method)
at java.lang.Thread.start(Thread.java:714)
at
java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:950)
at
java.util.concurrent.ThreadPoolExecutor.ensurePrestart(ThreadPoolExecutor.java:1587)
at
java.util.concurrent.ScheduledThreadPoolExecutor.delayedExecute(ScheduledThreadPoolExecutor.java:334)
at
java.util.concurrent.ScheduledThreadPoolExecutor.schedule(ScheduledThreadPoolExecutor.java:533)
at
org.apache.geode.cache.client.internal.QueueManagerImpl.scheduleRedundancySatisfierIfNeeded(QueueManagerImpl.java:1041)
at
org.apache.geode.cache.client.internal.QueueManagerImpl.checkEndpoint(QueueManagerImpl.java:430)
at
org.apache.geode.internal.cache.tier.sockets.CacheClientUpdater.processMessages(CacheClientUpdater.java:1811)
at
org.apache.geode.internal.cache.tier.sockets.CacheClientUpdater.run(CacheClientUpdater.java:463)
Thanks & Regards,
Dharam
This email is confidential and subject to important disclaimers and conditions
including on offers for the purchase or sale of securities, accuracy and
completeness of information, viruses, confidentiality, legal privilege, and
legal entity disclaimers, available at
http://www.jpmorgan.com/pages/disclosures/email