You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by kkhatua <gi...@git.apache.org> on 2017/08/25 23:46:22 UTC
[GitHub] drill issue #922: DRILL-5741: During startup Drill should not exceed the ava...
Github user kkhatua commented on the issue:
https://github.com/apache/drill/pull/922
@ppadma Can you please review this?
The changes have been tested with and without the parameter.
If the env variable is set as `40%` , `drillbit.out` reports
```
Aug 25, 2017 4:30:59 PM org.glassfish.jersey.server.ApplicationHandler initialize
INFO: Initiating Jersey application, version Jersey: 2.8 2014-04-29 01:25:26...
2017-08-25 16:32:19 [ERROR] Unable to start Drillbit due to memory constraint violations
Max Memory Permitted : 40% (11 of 28 GB free memory)
Total Memory Requested : 26 GB
Check the following settings to possibly modify (or increase the Max Memory Permitted):
-Xmx8g
-XX:MaxDirectMemorySize=16g
-XX:ReservedCodeCacheSize=1G
-XX:MaxPermSize=512M
```
If the env variable is set as `10240m` , `drillbit.out` reports
```
2017-08-25 16:35:18 [ERROR] Unable to start Drillbit due to memory constraint violations
Max Memory Permitted : 10 GB
Total Memory Requested : 26 GB
Check the following settings to possibly modify (or increase the Max Memory Permitted):
-Xmx8g
-XX:MaxDirectMemorySize=16g
-XX:ReservedCodeCacheSize=1G
-XX:MaxPermSize=512M
```
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---