Summary
This article provides information about troubleshooting an issue where the Dremio JVM process exits due to insufficient heap memory to create new threads.
Reported Issue
The Dremio process exits with an error message indicating "unable to create new native thread" due to insufficient heap memory.
Relevant Versions
All versions
Troubleshooting Steps
Check the server.log file for the "unable to create new native thread" error message.
Cause
The Dremio JVM process will attempt to create new threads as needed. If the process is creating too many threads, there is not enough memory available for the operating system to create more threads, or the system limits for thread creation are too low, this error can occur.
Steps to Resolve
1. Check process limits for the user or the running process.
2. Ensure the JVM heap is not sized too large, leaving insufficient memory for the operating system.
3. If the issue persists, contact Dremio Support for assistance.
Tips & Tricks
N/A
Best Practices
N/A
Recommendations
N/A
FAQ
N/A
Additional Resources
Dremio docs for Memory settings - https://docs.dremio.com/deployment/memory-config/
Background on native thread OOM - https://dzone.com/articles/troubleshoot-outofmemoryerror-unable-to-create-new