Skip to content

remove HiveConf and Configuration from thread-local after conection to h... #24

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: shark-0.9
Choose a base branch
from
Open

Conversation

apivovarov
Copy link

...iveserver is closed. I was done to clean sharkserver memory after all clients connections are closed. Without this fix I see about 200 HiveConf and about 200 hadoop Configuration instances in sharkserver memory even if all connections are closed and server is idle for a long time. HiveConf and Confugiration are quite large instances - about 100-150KB each. Totally they use about 40-60 MB of memory
before:
1000con-2
after:
threadlocal-3 -fixes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant