QuPath H-DAB Project
  • ๐Ÿ“ŠQuPath guide for H-DAB Cell Counting Docs
  • ๐Ÿ’กPipeline
    • ๐Ÿ’กSimple Pipeline
  • Fundamentals
    • ๐Ÿ› ๏ธGetting Set Up
  • QuPath H-Dab Docs
    • ๐Ÿ’กQuPath H-DAB Tutorial
      • Creating and Opening of Projects
      • Estimating Stain Vectors
      • Training Image Creation
      • Cell Detection
      • Object Classifier
      • Tissue Detection
        • 1๏ธโƒฃAutomatic General Tissue Detection
        • 2๏ธโƒฃManual Specific Tissue Detection
    • ๐ŸงพQuPath Script
      • Batch Processing
    • ๐Ÿ“‚Output
  • Result Analysis Docs
    • ๐Ÿ’กProcessing Package Tutorial
      • Addition Information for Python insiders
      • In-Depth Python usage
    • ๐Ÿ—„๏ธFinal Spreadsheet creation
    • ๐Ÿ†˜Out-of-memory error
  • non-expert docs
    • ๐Ÿ”ŽQuPath Installation
    • ๐Ÿ’ปGit Bash Installation
    • ๐Ÿ–ฅ๏ธPython Installation & Packages
    • Git Bash installation
Powered by GitBook
On this page
  1. Result Analysis Docs

Out-of-memory error

PreviousFinal Spreadsheet creationNextQuPath Installation

Last updated 9 months ago

If you run into the error message on a Windows Computer:

java.lang.OutOfMemoryError: Java heap space

The maximum memory of QuPath can be updated in QuPath. Click on Edit > Preferences > Set max memory

If this approach does not work, you must change the QuPath .cfg file directly. Therefore open your Qupath app folder.

Search in the app folder for the QuPath-0.5.1.cfg file and open it with the Editor

Once the file is open, scroll to the bottom of the file where you can find the update by allocating a memory.

[JavaOptions]
java-options=-Djpackage.app-version=0.5.1
java-options=-XX:MaxRAMPercentage=50
java-options=-Xmx16G

If you encounter any other problems please visit .

๐Ÿ†˜
QuPath-read the docs
open the app folder
open the .cfg file
add the lines