Sorry, here is just a complete copy/paste of the log message too.
INFO: Loaded extension ImageJ extension (38 ms)
INFO: Loaded extension JPen extension (18 ms)
INFO: Loaded extension OpenCV extensions (6 ms)
INFO: Loaded extension Rich script editor extension (262 ms)
INFO: OpenSlide version 3.4.1
INFO: Selected style: null
INFO: Performing update check…
WARN: No changelog found - will not check for updates
INFO: Starting QuPath with parameters:
INFO: Project set to Project: Tumour_Roundness-project
WARN: Temp memoization directory created at C:\Users\slaing\AppData\Local\Temp\qupath-memo-17036072778363717370
WARN: If you want to avoid this warning, either disable Bio-Formats memoization in the preferences or specify a directory to use
INFO: Image data set to ImageData: Not set, MDAL71.2j_2.scn - Series 1
ERROR: Estimate stain vectors: No brightfield, RGB image selected!
INFO: Requesting region for stain vector editing:
INFO: 1 region detected (processing time: 0.28 seconds)
INFO: Processing complete in 0.28 seconds
INFO: Completed!
INFO:
qupath.imagej.detect.tissue.SimpleTissueDetection2 {“threshold”: 200, “requestedPixelSizeMicrons”: 20.0, “minAreaMicrons”: 10000.0, “maxHoleAreaMicrons”: 1000000.0, “darkBackground”: false, “smoothImage”: true, “medianCleanup”: true, “dilateBoundaries”: false, “smoothCoordinates”: true, “excludeOnBoundary”: false, “singleAnnotation”: true}
WARN: Annotations for at least two classes are required to train a classifier
WARN: Annotations for at least two classes are required to train a classifier
INFO: Training data: 57673 x 12, Target data: 57673 x 1
ERROR: QuPath exception: bad allocation
at org.bytedeco.opencv.opencv_ml.StatModel.train(Native Method)
at qupath.opencv.ml.OpenCVClassifiers$AbstractOpenCVClassifierML.trainWithLock(OpenCVClassifiers.java:420)
at qupath.opencv.ml.OpenCVClassifiers$RTreesClassifier.trainWithLock(OpenCVClassifiers.java:698)
at qupath.opencv.ml.OpenCVClassifiers$AbstractOpenCVClassifierML.train(OpenCVClassifiers.java:402)
at qupath.opencv.ml.OpenCVClassifiers$RTreesClassifier.train(OpenCVClassifiers.java:738)
at qupath.lib.gui.ml.PixelClassifierPane.doClassification(PixelClassifierPane.java:974)
at qupath.lib.gui.ml.PixelClassifierPane.updateClassifier(PixelClassifierPane.java:815)
at qupath.lib.gui.ml.PixelClassifierPane.lambda$initialize$11(PixelClassifierPane.java:318)
at com.sun.javafx.binding.ExpressionHelper$Generic.fireValueChangedEvent(ExpressionHelper.java:360)
at com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(ExpressionHelper.java:80)
at javafx.beans.property.BooleanPropertyBase.fireValueChangedEvent(BooleanPropertyBase.java:104)
at javafx.beans.property.BooleanPropertyBase.markInvalid(BooleanPropertyBase.java:111)
at javafx.beans.property.BooleanPropertyBase.set(BooleanPropertyBase.java:145)
at com.sun.javafx.binding.BidirectionalBinding$BidirectionalBooleanBinding.changed(BidirectionalBinding.java:264)
at com.sun.javafx.binding.BidirectionalBinding$BidirectionalBooleanBinding.changed(BidirectionalBinding.java:227)
at com.sun.javafx.binding.ExpressionHelper$SingleChange.fireValueChangedEvent(ExpressionHelper.java:181)
at com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(ExpressionHelper.java:80)
at javafx.beans.property.BooleanPropertyBase.fireValueChangedEvent(BooleanPropertyBase.java:104)
at javafx.beans.property.BooleanPropertyBase.markInvalid(BooleanPropertyBase.java:111)
at javafx.beans.property.BooleanPropertyBase.set(BooleanPropertyBase.java:145)
at javafx.scene.control.ToggleButton.setSelected(ToggleButton.java:150)
at javafx.scene.control.ToggleButton.fire(ToggleButton.java:256)
at com.sun.javafx.scene.control.behavior.ButtonBehavior.mouseReleased(ButtonBehavior.java:206)
at com.sun.javafx.scene.control.inputmap.InputMap.handle(InputMap.java:274)
at com.sun.javafx.event.CompositeEventHandler$NormalEventHandlerRecord.handleBubblingEvent(CompositeEventHandler.java:218)
at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:80)
at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:238)
at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:191)
at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:59)
at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58)
at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
at com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74)
at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:54)
at javafx.event.Event.fireEvent(Event.java:198)
at javafx.scene.Scene$MouseHandler.process(Scene.java:3862)
at javafx.scene.Scene.processMouseEvent(Scene.java:1849)
at javafx.scene.Scene$ScenePeerListener.mouseEvent(Scene.java:2590)
at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:409)
at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:299)
at java.base/java.security.AccessController.doPrivileged(Unknown Source)
at com.sun.javafx.tk.quantum.GlassViewEventHandler.lambda$handleMouseEvent$2(GlassViewEventHandler.java:447)
at com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock(QuantumToolkit.java:412)
at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(GlassViewEventHandler.java:446)
at com.sun.glass.ui.View.handleMouseEvent(View.java:556)
at com.sun.glass.ui.View.notifyMouse(View.java:942)
at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
at com.sun.glass.ui.win.WinApplication.lambda$runLoop$3(WinApplication.java:174)
at java.base/java.lang.Thread.run(Unknown Source)