Bug report #11981
qgis-bin.exe runs forever (or very long) adding vector file
|Affected QGIS version:
|Pull Request or Patch supplied:
|Crashes QGIS or corrupts data:
|Copied to github as #:
I've got an 8MB uncompressed E00 vector file. When I attempt to add it into the project, qgis-bin.exe runs for a very long time (5 minutes and counting) using only a single CPU core. I know there is a configuration option for using multicore for rendering vectors and I have enabled this, but it doesn't seem to help with whatever is blocking the load operation.
I have a 2MB uncompressed E00 vector file, and this one loads fairly quickly (5 seconds) so I think something odd is going on with the 8MB file. I would expect it to take at most 4x longer to load (say 20 seconds).
#1 Updated by Gili Tzabari about 9 years ago
Having read http://marc.info/?l=gdal-dev&m=121323053222337 I used avcimport to convert the file format and tried again. The converted file opened within 10 seconds.
Suggested behavior: If a user tries opening a large E00 file, warn that performance will be extremely poor and suggest conversion using avcimport ahead of time.
Better yet, convert using avcimport seamlessly under the hood.