Skip to content

Commit

Permalink
Enable setting HeapDumpOnOutOfMemoryError on MDA executions
Browse files Browse the repository at this point in the history
See ukf/ukf-meta#246.
  • Loading branch information
iay authored and Alex Stuart committed Jul 18, 2022
1 parent f8ffb04 commit ad3e4f4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
*~
.*swp

# Java heap dumps
*.hprof

# GUI metadata files
.DS_Store
Thumbs.db
Expand Down
1 change: 1 addition & 0 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1727,6 +1727,7 @@
<propertyset refid="mda.properties"/>
</syspropertyset>
<jvmarg value="-enableassertions"/>
<jvmarg if:set="java.heap.dump" value="-XX:+HeapDumpOnOutOfMemoryError"/>
<arg value="--logConfig"/>
<arg value="${tools.dir}/mda-logging.xml"/>
<arg value="@{config}"/>
Expand Down

0 comments on commit ad3e4f4

Please sign in to comment.