image93
December 10, 2014, 12:33pm
1
Hello,
I tried several tests with grass 7 on my windows station.
When i launch the process (v.isochrones), error messages appear, one of them
is ERROR: G_malloc.
Please find below the message.
-------------------------------------------------------------------------------------------------------
ERROR: G_malloc: impossible d'allouer 24576 octets de mémoire à setup.c:124
Invalid map <map_tmp_8612>
Parse error
ERROR: parse error
ERROR: An error occurred while running r.mapcalc
ERROR: Sorry, <type> is not a valid parameter
ERROR: Sorry, <name> is not a valid parameter
(Wed Dec 10 11:32:54 2014) La commande s'est terminée (7 min 20 sec)
--------------------------------------------------------------------------------------------------------
Can you tell me the reason for this message and how to fix problem?
In advance, thank you.
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/grass-7-ERROR-G-malloc-tp5177230.html
Sent from the Grass - Users mailing list archive at Nabble.com.
On 10/12/14 13:33, image93 wrote:
Hello,
I tried several tests with grass 7 on my windows station.
When i launch the process (v.isochrones), error messages appear, one of them
is ERROR: G_malloc.
Please find below the message.
-------------------------------------------------------------------------------------------------------
ERROR: G_malloc: impossible d'allouer 24576 octets de mémoire à setup.c:124
As already answered privately: maybe a region issue. Try using a very coarse resolution and see what happens.
Invalid map <map_tmp_8612>
Parse error
ERROR: parse error
ERROR: An error occurred while running r.mapcalc
This error is a consequence of the previous.
ERROR: Sorry, <type> is not a valid parameter
ERROR: Sorry, <name> is not a valid parameter
Option names were recently changed for g.remove. Which version of grass7 (which svn revision) do you have ?
Try installing a more recent build.
Moritz
neteler
December 10, 2014, 7:06pm
3
On Wed, Dec 10, 2014 at 6:44 PM, Moritz Lennert
<mlennert@club.worldonline.be> wrote:
On 10/12/14 13:33, image93 wrote:
Hello,
I tried several tests with grass 7 on my windows station.
When i launch the process (v.isochrones), error messages appear, one of
them
is ERROR: G_malloc.
Please find below the message.
-------------------------------------------------------------------------------------------------------
ERROR: G_malloc: impossible d'allouer 24576 octets de mémoire à
setup.c:124
The message indicated that it is not the very latest GRASS GIS 7
version because it would indicate the full path to the failing file,
something like
ERROR: G_malloc: unable to allocate xxx bytes of memory at path/to/file:zz
...
ERROR: Sorry, <type> is not a valid parameter
ERROR: Sorry, <name> is not a valid parameter
Option names were recently changed for g.remove. Which version of grass7
(which svn revision) do you have ?
Try installing a more recent build.
Seems that this will be the solution.
Markus
image93
December 12, 2014, 5:22pm
4
Hello,
So, i downloaded a new version of grass : grass 7.1 svn (build 10/12/2014).
Unfortunatly, I still have several error messages when I run v.isochrones.
Please find below the messages :
--------------------------------------------------------------
(Fri Dec 12 17:26:11 2014)
v.isochrones --overwrite map=roads_93_L93@dataset layer=1
speed_column=speed_prof start_points=start_points_L93@dataset
isochrones=isochrones timemap=raster_map time_steps=30
Pass 1 of 16:
Reading features...
Writing raster map...
Pass 2 of 16:
Reading features...
Writing raster map...
Pass 3 of 16:
Reading features...
Writing raster map...
Pass 4 of 16:
Reading features...
Writing raster map...
Pass 5 of 16:
Reading features...
Writing raster map...
Pass 6 of 16:
Reading features...
Writing raster map...
Pass 7 of 16:
Reading features...
Writing raster map...
Pass 8 of 16:
Reading features...
Writing raster map...
Pass 9 of 16:
Reading features...
Writing raster map...
Pass 10 of 16:
Reading features...
Writing raster map...
Pass 11 of 16:
Reading features...
Writing raster map...
Pass 12 of 16:
Reading features...
Writing raster map...
Pass 13 of 16:
Reading features...
Writing raster map...
Pass 14 of 16:
Reading features...
Writing raster map...
Pass 15 of 16:
Reading features...
Writing raster map...
Pass 16 of 16:
Reading features...
Writing raster map...
Converted points/lines: 27241 of 27241
v.to.rast terminé.
Région actuelle 22810 lignes, 22996 colonnes
ERROR: G_malloc: impossible d'allouer 24576 octets de mémoire à
lib/segment/setup.c:124
Traceback (most recent call last):
File "C:\Users\lcelati\AppData\Roaming\GRASS7\addons/scrip
ts/v.isochrones.py", line 211, in <module>
main()
File "C:\Users\lcelati\AppData\Roaming\GRASS7\addons/scrip
ts/v.isochrones.py", line 165, in main
output=tmp_map)
File "C:\Program Files\GRASS GIS
7.1.svn\etc\python\grass\script\core.py", line 373, in
run_command
return handle_errors(returncode, returncode, args,
kwargs)
File "C:\Program Files\GRASS GIS
7.1.svn\etc\python\grass\script\core.py", line 308, in
handle_errors
returncode=returncode)
grass.exceptions.CalledModuleError: Module run None
['r.cost', 'input=cost_map_tmp_2772',
'start_points=start_points_L93@dataset',
'output=map_tmp_2772'] ended with error
Process ended with non-zero return code 1. See errors in the
(error) output.
(Fri Dec 12 17:53:06 2014) La commande s'est terminée (26 min 55 sec)
--------------------------------------------------------------
Thank you.
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/grass-7-ERROR-G-malloc-tp5177230p5177662.html
Sent from the Grass - Users mailing list archive at Nabble.com.
hellik
December 12, 2014, 8:48pm
5
Région actuelle 22810 lignes, 22996 colonnes
ERROR: G_malloc: impossible d'allouer 24576 octets de mémoire à
lib/segment/setup.c:124
you're running out of memory; try a coarser resolution of your calculation
region or try to reduce your region extent.
HTH
-----
best regards
Helmut
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/grass-7-ERROR-G-malloc-tp5177230p5177694.html
Sent from the Grass - Users mailing list archive at Nabble.com.