-
-
Notifications
You must be signed in to change notification settings - Fork 369
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
I am using r.clump on a quite large file.
I get the error below.
1-band clumping with threshold 0
Pass 1 of 2…
Current region rows: 220000, cols: 240000
ERROR: G_realloc: unable to allocate 18446744065119617024 bytes of memory at raster/r.clump/clump.c:633
System description
operative system of the singularity/apptainer image: almalinux:9.6-20250520
- grass --version GRASS GIS 8.4.1
- gdalinfo --version GDAL 3.11.3 "Eganville", released 2025/07/12
- proj --version Rel. 9.6.2, June 4th, 2025
- geos-config --version 3.13.1
- python --version Python 3.13.5
Additional context
comment from here :
annakrat
This seems to come from the reallocating the clump index. My guess is there is too large number of clumps. The nalloc variable is integer so there may be integer overflow going on. I recommend creating a bug report.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working