-
Notifications
You must be signed in to change notification settings - Fork 856
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
BUGFIX Updating java_agrs to elephant.conf for resolving argument conflicts #299
Conversation
app-conf/elephant.conf
Outdated
@@ -27,7 +27,12 @@ enable_analytics=false | |||
|
|||
# Additional Configuration | |||
# Check https://www.playframework.com/documentation/2.2.x/ProductionConfiguration | |||
jvm_props="-Devolutionplugin=enabled -DapplyEvolutions.default=true" | |||
#jvm_props="-Devolutionplugin=enabled -DapplyEvolutions.default=true" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove this line. Not required.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
app-conf/elephant.conf
Outdated
|
||
# Adding the below line for Heap Tuning and Java OPTS | ||
# mem - Heap Memory | ||
jvm_args="-Devolutionplugin=enabled -DapplyEvolutions.default=true -mem 1024 -J-Xloggc:$project_root../logs/elephant/dr-gc.`date +'%Y%m%d%H%M'` -J-XX:+PrintGCDetails" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is a slash missing here?
$project_root/..
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nope Its not. $project_root itself
has a /
within it. So there is not point of mentioning one more /
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes are done
Contains fixes mentioned in #297.
jvm_args
instead ofjvm_props
to enable Java Arguments-mem 1024
to enable default Heap allocation of 1GB.-J-Xloggc:$project_root../logs/elephant/dr-gc.
date +'%Y%m%d%H%M'-J-XX:+PrintGCDetails
to enable GC logging in the same directory of Dr. Elephant Logs