How do i avoid "cannot create native threads" while using ExecutorService?
<p>I'm new to ExecutorService. Right now my scenario is "millions of data 365*24*7 is coming in"
I have some process to be done on data coming in using threads.</p>

<pre><code>ExecutorService es = Executors.newSingleThread();
es.execute(new ComputeDTask(data));
</code></pre>

<p>I'm sending data to ComputeDTask for some execution.</p>

<p>How efficient is it to create a <code>new ComputeDTask</code> each time data comes in?  That is, if data is received one million times, then a million ComputeDTask objects will be created.</p>
