Ticket #1694 (closed defect: invalid)
r.in.lidar tries to allocate way too much memory
|Reported by:||torsti||Owned by:||grass-dev@…|
Trying to import a LAS dataset containing ~11 million points with r.in.lidar I get the following error message: "ERROR: G_calloc: unable to allocate 18446744073471563701 * 4 bytes of memory at main.c:528"
I know the dataset is large, but allocating ~64 exabytes of memory seems a bit excessive.
Importing the same dataset using v.in.lidar works and with 6.4.2 and las2txt neither v.in.ascii nor r.in.ascii have any problems with the same dataset.
GRASS 7.0 version was revision 52573.