Welcome, Guest. Please login or register.

Login with username, password and session length
Forums Search:  


Author Topic: GpsMapEdit - Out of memory?  (Read 899 times)

nonamed

  • Jr. Member
  • **
  • Posts: 3
  • Karma: 0
    • View Profile
GpsMapEdit - Out of memory?
« on: January 15, 2019, 06:23:43 AM »
I am trying to load into GpsMapEdit 500MB *img file with map (container of maps) exported from Mapsource.

However during loading in GpsMapEdit I receive out of memory error:


How to solve it?

Windows 10 x64  24GB RAM

GpsMapEdit 2.1.78.10
« Last Edit: January 15, 2019, 06:25:28 AM by nonamed »

popej

  • Expert Advisor
  • *****
  • Posts: 329
  • Karma: 30
    • View Profile
Re: GpsMapEdit - Out of memory?
« Reply #1 on: January 15, 2019, 10:39:21 AM »
GPSMapEdit is a 32-bit application, which uses up to 2GB of memory. On 64-bit system you can increase this value to 4GB by patching exe header with editbin, but I doubt if this will help with your file.

When GPSMapEdit opens an img container, it shows its content as a list. You don't have to load all at once, you can select only some elements to load and then eventually repeat the same process with other elements.

nonamed

  • Jr. Member
  • **
  • Posts: 3
  • Karma: 0
    • View Profile
Re: GpsMapEdit - Out of memory?
« Reply #2 on: January 15, 2019, 12:23:15 PM »
GPSMapEdit is a 32-bit application, which uses up to 2GB of memory. On 64-bit system you can increase this value to 4GB by patching exe header with editbin, but I doubt if this will help with your file.

When GPSMapEdit opens an img container, it shows its content as a list. You don't have to load all at once, you can select only some elements to load and then eventually repeat the same process with other elements.
Ok I can choose some of the elements and edit them. Then I am going to export them into MP format. But then how can I combine/join all those .MP files into one file and export to img map with cgsmapper.exe ?

popej

  • Expert Advisor
  • *****
  • Posts: 329
  • Karma: 30
    • View Profile
Re: GpsMapEdit - Out of memory?
« Reply #3 on: January 15, 2019, 03:28:07 PM »
You can use action File -> Add in GPSMapEdit to join mp files. Please note, that cgpsmapper has a file size limit too, you won't be able to compile, if resulting mp file is too big.

nonamed

  • Jr. Member
  • **
  • Posts: 3
  • Karma: 0
    • View Profile
Re: GpsMapEdit - Out of memory?
« Reply #4 on: January 17, 2019, 12:38:41 AM »
You can use action File -> Add in GPSMapEdit to join mp files. Please note, that cgpsmapper has a file size limit too, you won't be able to compile, if resulting mp file is too big.
Unfortunately even Add in option in GPSMapEdit result out of memory popup when trying to load few *.mp files at once .

Furthermore I can not find in Windows 10 x64 editbin program . Which component should I install to get this script?

popej

  • Expert Advisor
  • *****
  • Posts: 329
  • Karma: 30
    • View Profile
Re: GpsMapEdit - Out of memory?
« Reply #5 on: January 17, 2019, 04:00:29 AM »
Editbin is a part of Microsoft developer tools, probably comes with Visual C++ or similar packets.

I'm quite sure, that if file is too big for GPSMapEdit, then it will be too big for cgpsmapper too. You should rather edit separate files and create an mapset with multiple img. Or maybe you could simplify files before merging. Please reconsider what are you going to do, because it doesn't look like GPSMapEdit is the limiting stage.

sandersg

  • Jr. Member
  • **
  • Posts: 4
  • Karma: 1
    • View Profile
Re: GpsMapEdit - Out of memory?
« Reply #6 on: June 28, 2019, 06:14:12 AM »
I've never used cgpsMapper, only MapTk and the recommendation for that is map sizes should be kept to ~15 Mb.  Looking at an old gpsmapsupp file from mapsource it was made up of multiple maps corresponding to 7.5 minute USGS quads.  When compiling maps I've edited I get an img file per map.  Converting to GMAP format to enable adding to basecamp each individual image is added as a map tile (I believe, I'm certainly no expert and welcome correction if this is wrong) Viewing is seamless in basecamp so I *believe* the smaller map tiles are handled by the Garmin software.  In this manner I've been able to make maps consisting of multiple GB of .mp files.

The MapTk documentation is pretty comprehensive but only covers the compiling portion, not the map authoring portion.  BTW opening individual maps from the gpsmapsupp file wasn't a problem,  so much so in fact I've forgotten the specifics.

 

anything