F
Francesco
I'm trying to submit to ExecutorService many processCallable (I have
to use callable because I have to feedback the returncode), but over a
quantity my JVM goes in OutOfMemory.
My Executor is:
private ExecutorService executor = Executors.newFixedThreadPool(30);
I can't modify Xms and Xmx because they are too high now.
I want to clean-up the pool by the completed threads, so I can put the
newer.
Have You some ideas?
Thanks a lot
F.
to use callable because I have to feedback the returncode), but over a
quantity my JVM goes in OutOfMemory.
My Executor is:
private ExecutorService executor = Executors.newFixedThreadPool(30);
I can't modify Xms and Xmx because they are too high now.
I want to clean-up the pool by the completed threads, so I can put the
newer.
Have You some ideas?
Thanks a lot
F.