Skip to content
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

Print into the log list of all running queries at the time when OOM is thrown #7861

Closed
andrii0lomakin opened this issue Nov 1, 2017 · 4 comments
Assignees
Milestone

Comments

@andrii0lomakin
Copy link
Member

In 99% of cases, we have got OOM because of execution of query which fetches a lot of data into the RAM. Adding such functionality will allow us to quickly detect which query was caused a problem.

@luigidellaquila
Copy link
Member

Hi @Laa
I can do the logging of the currently running queries, but we have to define the exact point where to catch OOM exceptions

Thanks

Luigi

@andrii0lomakin
Copy link
Member Author

@luigidellaquila we do need that all our Threads in core or server use com.orientechnologies.common.util.OUncaughtExceptionHandler which will do all work.

@andrii0lomakin
Copy link
Member Author

Thread pools have similar mechanics.

@andrii0lomakin
Copy link
Member Author

Fixed.

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

No branches or pull requests

2 participants