diff --git a/src/main/java/net/imagej/ops/morphology/outline/Outline.java b/src/main/java/net/imagej/ops/morphology/outline/Outline.java index 3bf700a97..df419af20 100644 --- a/src/main/java/net/imagej/ops/morphology/outline/Outline.java +++ b/src/main/java/net/imagej/ops/morphology/outline/Outline.java @@ -105,7 +105,7 @@ public void compute(final RandomAccessibleInterval input, { final ExtendedRandomAccessibleInterval> extendedInput = extendInterval(input); - final int nThreads = Runtime.getRuntime().availableProcessors(); + final int nThreads = 1; final ExecutorService pool = Executors.newFixedThreadPool(nThreads); final List> futures = new ArrayList<>(); final long[] dimensions = new long[input.numDimensions()];