Class MemoryDialog


public class MemoryDialog extends ImporterDialog
Bio-Formats Importer memory usage confirmation dialog box.
  • Field Details

    • MINIMUM_MEMORY_PADDING

      private static final long MINIMUM_MEMORY_PADDING
      Minimum amount of wiggle room for available memory, in bytes.
      See Also:
    • needMem

      private long needMem
      Required memory for the dataset, in bytes.
    • availMem

      private long availMem
      Remaining memory for the JVM.
  • Constructor Details

    • MemoryDialog

      public MemoryDialog(ImportProcess process)
      Creates a memory confirmation dialog for the Bio-Formats Importer.
  • Method Details

    • needPrompt

      protected boolean needPrompt()
      Specified by:
      needPrompt in class ImporterDialog
    • constructDialog

      protected ij.gui.GenericDialog constructDialog()
      Specified by:
      constructDialog in class ImporterDialog
    • harvestResults

      protected boolean harvestResults(ij.gui.GenericDialog gd)
      Specified by:
      harvestResults in class ImporterDialog
    • getAvailableMemory

      private long getAvailableMemory()