VectorClassifier - Default RAM limit, GDAL maximum cache size and OTB will use

Hello everyone!

I was already able to do this step in my first training, but on the second attempt, where I entered more samples, I get a message that the processing cannot be completed. I searched the forum for similar errors but in different processing, but I couldn’t solve.
I get the message about Default RAM limit 286mb, GDAL maximum cache size 814mb and OTB will use at most 4 threads.
What can I do to resolve it?

My system: Windows10
Version of the OTB: 8.0.0

QGIS version: 3.22.5
Python version: *3.9.5

Description of my issue

Versão do QGIS: 3.22.5-Białowieża

Código de revisão do QGIS: c2723178

Versão do Qt: 5.15.2

Versão do Python: 3.9.5

Versão do GDAL: 3.4.1

Versão do GEOS: 3.10.2-CAPI-1.16.0

Versão do PROJ: Rel. 8.2.1, January 1st, 2022

Versão PDAL: 2.3.0 (git-version: 9f35b7)

Algoritmo iniciado as: 2022-04-19T22:37:13

Algoritmo ‘VectorClassifier’ iniciando…

Entrada de parâmetros:

{ ‘in’ : ‘C:/Users/letic/Desktop/orfeo 19_04/seg200_zonal.shp’, ‘instat’ : ‘’, ‘model’ : ‘C:\Users\letic\Desktop\orfeo 19_04\modelo_dia19_04.txt’, ‘cfield’ : ‘’, ‘feat’ : [], ‘confmap’ : False, ‘out’ : ‘C:/Users/letic/Desktop/orfeo 19_04/class2.shp’ }

2022-04-19 22:37:13 (INFO) VectorClassifier: Default RAM limit for OTB is 256 MB

2022-04-19 22:37:13 (INFO) VectorClassifier: GDAL maximum cache size is 814 MB

2022-04-19 22:37:13 (INFO) VectorClassifier: OTB will use at most 4 threads

Could not read file C:\Users\letic\Desktop\orfeo

Execution completed in 4.40 segundos


{‘out’: ‘C:/Users/letic/Desktop/orfeo 19_04/class2.shp’}


Dear @leticia,

Thank you for using OTB.

I see there is a space in the path leading to your input file. The QGIS plugin is not able to manage spaces in path names. Could you rename the directory “orfeo 19_04” to “orfeo_19_04” ?

You can also try to add quotes " " around the path.

Julien :slight_smile:

Hello Julien

Thanks for the help!

1 Like