[GRASS-dev] [GRASS GIS] #1694: r.in.lidar tries to allocate way too much memory

GRASS GIS trac at osgeo.org
Tue Aug 7 13:14:53 PDT 2012


#1694: r.in.lidar tries to allocate way too much memory
---------------------+------------------------------------------------------
 Reporter:  torsti   |       Owner:  grass-dev@…              
     Type:  defect   |      Status:  new                      
 Priority:  normal   |   Milestone:  7.0.0                    
Component:  Default  |     Version:  svn-trunk                
 Keywords:           |    Platform:  Linux                    
      Cpu:  x86-64   |  
---------------------+------------------------------------------------------
 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.

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/1694>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list