Skip to content
Permalink
Browse files
[Delimited provider] Increase buffer size to 10 MB to be able to read…
… huge WKT (fixes #43256)
  • Loading branch information
rouault authored and nyalldawson committed May 21, 2021
1 parent 9f9d3a9 commit 27160c929010380203541bc39fc84b668588acf5
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/providers/delimitedtext/qgsdelimitedtextfile.cpp
@@ -43,7 +43,7 @@ QgsDelimitedTextFile::QgsDelimitedTextFile( const QString &url )

// For tests
QString bufferSizeStr( getenv( "QGIS_DELIMITED_TEXT_FILE_BUFFER_SIZE" ) );
mMaxBufferSize = bufferSizeStr.isEmpty() ? 1024 * 1024 : bufferSizeStr.toInt();
mMaxBufferSize = bufferSizeStr.isEmpty() ? 10 * 1024 * 1024 : bufferSizeStr.toInt();
}


0 comments on commit 27160c9

Please sign in to comment.