From: Francesco on 22 Apr 2010 09:18 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.
|
Pages: 1 Prev: Menu in Swing Next: please help me get started with building a website |