-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Vitaly,
Vitaly Baranovsky 2 wrote:
| Yes, data is added to ThreadLocal with every request.
| I can't modify this application.
|
| Does anybody knows, how to turn off thread pool? I want threads are
created
| before each requests and destroyed after
Will this not break the application? Does it not rely on this information?
No, application uses thread local only for storing temporary data.
Or, are we talking about an application that incorrectly uses
ThreadLocal variables and needs to be fixed without modifying the code?
Yes.
What
Hi!
I have application developed not by me. This application adds new data to
http threads at each requests. So, periodically there is memory overload,
because threads are not destroyed after each request because of thread pool.
So, workaround for me is turn off thread pool, I think. So, as far
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Vitaly,
Vitaly Baranovsky 2 wrote:
| I have application developed not by me. This application adds new data to
| http threads at each requests. So, periodically there is memory overload,
| because threads are not destroyed after each request because
Yes, data is added to ThreadLocal with every request.
I can't modify this application.
Does anybody knows, how to turn off thread pool? I want threads are created
before each requests and destroyed after each request. I thought
minSpareThreads=0 maxSpareThreads=0 can do this...
Christopher