java - Blocking FixedThreadPool -


I have an application that uses a fixedTrappull with 10 threads to run database queries if a constant high It starts using significant amount of memory to query the number and begins to take more time to execute the questions.

Is there a way to create a FixedThreadPool block in all threads, or when the queue reaches a certain size so that I do not end up with this problem?


Comments

Popular posts from this blog

winforms - C# Form - Property Change -

java - Messages from .properties file do not display UTF-8 characters -

javascript - amcharts makechart not working -