GPSFileDepot Forums

General Category => Map Making Support => Topic started by: abro on March 10, 2009, 07:57:18 AM

Title: Low memory/no memory warnings using Global Mapper
Post by: abro on March 10, 2009, 07:57:18 AM
I get low memory/no memory warnings, then complete shutdown of Global Mapper during the combing data tutorial part 8. Everything appeared to be fine during the adding of all the files required and export vector data, export polish mp. I set the polish mp export options, click ok it begins to build my 100k files/maps. It is during this process I get the low memory/no memory warnings. I enter thru the warnings and finally I get an out of memory warning and global mapper shuts down completely. Note: The state is PA, and I am using a pentium 4 w/ 4gb ram. please help

thanks jim
Title: Re: Low memory/no memory warnings using Global Mapper
Post by: -Oz- on March 10, 2009, 10:32:35 AM
Jim, my recommendation is to export the contour data in 100k grids (grids that'll match the other data) and call them like PACont and give them a blank dictionary header (crucial step).  Then export everything else in 100k grids (with the real dictionary header).  Then you can use the dos copy command to combine the two pieces together. This is the dos command: copy PAData_A1.mp+PACont_A1.mp b:PATopo_A1.mp

This is how I get around the memory errors.
Title: Re: Low memory/no memory warnings using Global Mapper
Post by: abro on March 10, 2009, 08:07:40 PM
Dan, I did what you recommended, I exported the contour data in 100k grids and called them PACont. I also unchecked the dictionary header box. Everything appeared to go good and now there are 42 100k grids sitting in my "release_version_1.00 folder. I then created another catalog, added all the required files except for the contour data. I called them PATopo, added the real dictionary header and began to export.  Within minutes Global Mapper produced a pop up (unable to load overlay transportation.shp out of memory). I appreciate the recommendations. 

Jim
Title: Re: Low memory/no memory warnings using Global Mapper
Post by: -Oz- on March 11, 2009, 02:12:40 PM
How large is the transportation file?  Better yet, how large are the water files?

Your other option is to switch to half size grids; 0.5 X 0.5

I'll download the transportation data tonight and run a test.
Title: Re: Low memory/no memory warnings using Global Mapper
Post by: abro on March 11, 2009, 04:02:10 PM
Dan, file sizes as follows:
   Area------------------171,982
   Flowline-------------  707,317
   Waterbody----------  259,826
   Transportation------  245,140
   Contours------------- 825,855
   Gnis------------------     1,103
   Fed Lnds/Nat Prk----   21,600
   Borders--------------   12,870   
   Total---------------- 2,245,693
GM error warnings are (unable to load overlay transportation.shp out of memory) I enter thru that and the next one that comes up is (unknown error exporting polish mp file)

Thanks for help,

Jim
Title: Re: Low memory/no memory warnings using Global Mapper
Post by: maps4gps on March 11, 2009, 06:43:43 PM
That is about where I would expect a memory error.  I have seen the windows overhead and GM take up from 800Mb to 1.1Gb (have no idea why it varies).  XP only allows 75-85% (also varies for some reason) of my 3Gb RAM to be used.  Use the task manager (or whatever microsoft called it in your version) to watch how memory is being used.  Close all other programs you can.
Title: Re: Low memory/no memory warnings using Global Mapper
Post by: -Oz- on March 12, 2009, 12:29:21 PM
Yea, I'm with maps4gps; reboot; kill everything unneccessary and just load up global mapper and see what happens.  I've worked with much much larger files than that and with only 2gb of ram...
Title: Re: Low memory/no memory warnings using Global Mapper
Post by: abro on March 12, 2009, 08:41:22 PM
Dan, the dos copy command ( copy PAData_A1.mp+PACont_A1.mp b:PATopo_A1.mp ) is not working for me. I tried it from the command prompt, I tried it from the directory the files live in( Pennsylvania\release_version_1.00 ). I am not sure what I am doing wrong, I am not even sure I got a good export. need help, thanks

Jim
Title: Re: Low memory/no memory warnings using Global Mapper
Post by: abro on March 12, 2009, 08:45:09 PM
Sorry Dan, I forgot to give you the error. (the system cannot find the path specified)

Jim
Title: Re: Low memory/no memory warnings using Global Mapper
Post by: -Oz- on March 13, 2009, 10:25:36 PM
do you have a PAData_A1.mp and a PACont_A1.mp if not that is why.
Title: Re: Low memory/no memory warnings using Global Mapper
Post by: abro on March 14, 2009, 10:41:58 AM
NEED HELP!!, I did not realize OZ was out until 3/17/09. I have been trying to Combine Data (Part eight) for almost a week with no luck. I get two different warnings from Global Mapper. The first is unable to load overlay Transportation.shp OUT OF MEMORY and the second is unknown error exporting to Polish mp file. OZ recommended I export the contour data in 100k grids and give them a blank header. Then export everything else in 100k grids and give it the real dictionary. He stated I could then use the dos copy command to combine the two pieces together. I tried this many different ways and Global Mapper gives me the same two errors. 
PLEASE HELP, Jim 
Title: Re: Low memory/no memory warnings using Global Mapper
Post by: -Oz- on March 18, 2009, 08:47:03 PM
well if you keep getting the same error you should never get to the dos combine step.

What else is running in the background? Is it possible a bunch of "stuff" is loading and taking up all your ram?
Title: Re: Low memory/no memory warnings using Global Mapper
Post by: abro on March 29, 2009, 11:18:19 AM
Reluctantly, I sat PA to the side until I become a lot more familiar with memory and memory related issues. It felt like I was asking stupid questions. I started Maryland and because it is small, there have been no problems. I just started Creating Setup Files in Part #9. I am sure I will have questions on the copyright section. Other than that, Maryland will finish quickly.


Jim
Title: Re: Low memory/no memory warnings using Global Mapper
Post by: -Oz- on March 29, 2009, 01:29:53 PM
Glad you got some state done.

And obviously its not a stupid question; took me hours to come up with solutions to the memory issues because it changed each time.
Title: Re: Low memory/no memory warnings using Global Mapper
Post by: maps4gps on March 29, 2009, 07:20:56 PM
Jim,

    FYI - if you encounter any areas where your contours are very different from the published 24K maps (or their DRG images), it is probably one of the 12% of the DEMs in MD that were made using older production methods.  Similiar for PA, VA & SC - I mentioned this to OZ, but have not decided if I want to upload these states. 
   Please continue your efforts, as the more who learn how to do this, the better maps we will all have (uploading an IL map was my mistake).  A person doing the state(s) they are familiar with will have more knowledge and time to look for better data, add 'special' items and keep the mapset current.
   Did you ever use the task manager to monitor the memory usage as GM was loading the files?

Mark