Skip to content
This repository has been archived by the owner on Nov 11, 2022. It is now read-only.

Commit

Permalink
Merge pull request #129 from davorbonaci/backport-8
Browse files Browse the repository at this point in the history
Backport apache/beam#8
  • Loading branch information
davorbonaci committed Mar 4, 2016
2 parents 12935e5 + 3f5d5e0 commit 2517b18
Showing 1 changed file with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,20 @@ public Dataflow create(PipelineOptions options) {
int getNumberOfWorkerHarnessThreads();
void setNumberOfWorkerHarnessThreads(int value);

/**
* If {@literal true}, save a heap dump before killing a thread or process which is GC
* thrashing or out of memory. The location of the heap file will either be echoed back
* to the user, or the user will be given the opportunity to download the heap file.
*
* <p>
* CAUTION: Heap dumps can of comparable size to the default boot disk. Consider increasing
* the boot disk size before setting this flag to true.
*/
@Description("If {@literal true}, save a heap dump before killing a thread or process "
+ "which is GC thrashing or out of memory.")
boolean getDumpHeapOnOOM();
void setDumpHeapOnOOM(boolean dumpHeapBeforeExit);

/**
* Creates a {@link PathValidator} object using the class specified in
* {@link #getPathValidatorClass()}.
Expand Down

0 comments on commit 2517b18

Please sign in to comment.