Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XYZ Tile export crashes with memory error #60276

Open
2 tasks done
russellcurtis opened this issue Jan 26, 2025 · 1 comment
Open
2 tasks done

XYZ Tile export crashes with memory error #60276

russellcurtis opened this issue Jan 26, 2025 · 1 comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Feedback Waiting on the submitter for answers

Comments

@russellcurtis
Copy link

What is the bug or the crash?

When exporting an XYZ Tile image set QGIS constantly crashes, with the Ubuntu error log reporting the following:
12:37:54 kernel: Out of memory: Killed process 27045 (qgis.bin) total-vm:37319648kB, anon-rss:30798676kB, file-rss:384kB, shmem-rss:464kB, UID:1000 pgtables:63520kB oom_score_adj:0

and

11:57:05 systemd: app-gnome-org.qgis.qgis-25584.scope: Consumed 37min 42.556s CPU time.
11:57:04 qgis.bin: gdb returned 256
11:57:04 gdb: No stack.
11:57:04 qgis.bin: QGIS died on signal 11
11:57:04 qgis.bin: QGIS died on signal 11
11:57:04 qgis.bin: Warning: QSocketNotifier: Socket notifiers cannot be enabled or disabled from another thread

Steps to reproduce the issue

Here is the Python script which is generating the error for me. I am unable to establish whether this is related to a specific file, or whether it's to do with the number of tiles generated etc. The crash consistently occurs regardless of the extent of the area I select for export.

processing.run("native:tilesxyzdirectory", {'EXTENT':'560383.723300000,566138.697900000,187318.562600000,192790.148300000 [EPSG:27700]','ZOOM_MIN':18,'ZOOM_MAX':18,'DPI':96,'BACKGROUND_COLOR':QColor(0, 0, 0, 0),'ANTIALIAS':True,'TILE_FORMAT':0,'QUALITY':75,'METATILESIZE':4,'TILE_WIDTH':256,'TILE_HEIGHT':256,'TMS_CONVENTION':False,'HTML_TITLE':'','HTML_ATTRIBUTION':'','HTML_OSM':False,'OUTPUT_DIRECTORY':'_<</myDirectory>>_','OUTPUT_HTML':'TEMPORARY_OUTPUT'})

Versions

3.40.3-Bratislava

Supported QGIS version

  • I'm running a supported QGIS version according to the roadmap.

New profile

Additional context

No response

@russellcurtis russellcurtis added the Bug Either a bug report, or a bug fix. Let's hope for the latter! label Jan 26, 2025
@rouault
Copy link
Contributor

rouault commented Jan 27, 2025

@russellcurtis Please provide a fully reproducible procedure, preferably with a project file you could share and the options you use to export to XYZ

@agiudiceandrea agiudiceandrea added the Feedback Waiting on the submitter for answers label Jan 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Feedback Waiting on the submitter for answers
Projects
None yet
Development

No branches or pull requests

3 participants