BackCountry Navigator
Mobile Outdoor Maps
Bookmark Page
Enter Keywords:
Friday, 05 December 2008
|
Home
|
Software Tour
|
Contact Us
|
Trial
|
Versions
|
Forum
|
FAQ
|
Purchasing...
|
Manual
|
Main
Forum
The Software
Troubleshooting
Malloc ( ) failed?
News
SMF - Just Installed!
Home
Help
Search
Register
BackCountry Navigator Forum
|
The Software
|
Troubleshooting
|
Malloc ( ) failed?
« previous
next »
Pages:
[
1
]
2
Author
Topic: Malloc ( ) failed? (Read 2460 times)
neat_guy74
Newbie
Posts: 8
Malloc ( ) failed?
«
on:
December 28, 2006, 10:09:38 AM »
Hey... Love the program! I've had a few small problems in the past that were easy to figure out, or were solved with other peoples posts. All in all, it's worth a little hassle.
Here is todays issue. I am running an iPaq 5555 with a navman gps sleeve. I've used all the 1.x versions with little trouble. This is the second time in a couple months I've tried to get version 2.x to work. The program seems to run fine, but downloading maps is not working out so well. If I try to download airial photos, it tells me it cannot connect to server. Not a huge problem as I don't use them much. But when downloading topos it downloads fine for awhile then gives me an error...
malloc () failed
out of memory
I haven't found reference to the error before and has me stumped as to whats happening. I'm downloading to a 1 gig storage card. It is a large size map, but is the same size as I've done before.
Thanks
Any ideas would be welcome
Lance
Logged
Nathan
Administrator
Hero Member
Posts: 504
Re: Malloc ( ) failed?
«
Reply #1 on:
December 28, 2006, 11:02:55 AM »
It is unlikely that you are running out of space on your storage card. It is more likely that Main Memory is a bit tight. Can you check to see what Program memory is doing.
We don't call malloc in the program, but internet downloads will go through the pocket internet explorer which might. It is true that some have found the software to use too much memory in long downloads. Since memory is automatically managed by the OS, we are looking for ways to force it to use less memory.
Nathan
Logged
utmatt20
Newbie
Posts: 24
Re: Malloc ( ) failed?
«
Reply #2 on:
January 02, 2007, 10:24:57 PM »
I have the same problem. I have a 4GB CF card so I would like to get some rather large maps. Have you considered creating a tool to do the map downloads on a desktop? I am downloading right now. My memory is slowly creeping up. Once it gets maxed out I get this error. FYI I am using a Dell Axim X51V w/ WM5. Also I have noticed faster downloads with my CF ethernet adapter than with WiFi.
Logged
Captain Chaoss
Jr. Member
Posts: 69
Re: Malloc ( ) failed?
«
Reply #3 on:
January 03, 2007, 01:58:32 PM »
Quote from: utmatt20 on January 02, 2007, 10:24:57 PM
Also I have noticed faster downloads with my CF ethernet adapter than with WiFi.
Thats always going to be the case - wifi download rates are slower than wired. Thats why many graphics intensive businesses still run cable between networked computers, if I'm understanding it correctly.
Logged
daiichi
Newbie
Posts: 31
Re: Malloc ( ) failed?
«
Reply #4 on:
January 09, 2007, 10:31:22 AM »
I posted a "new feature" request to download maps on a PC... the problem identified on this thread is one very irritating issue. The malloc() is about main memory (64MB on my IPAQ, 2 GB SD card, 4GB Compact Flash card)... and on my Ipaq 29xx there is nothing I can do about it--all extraneous applications are shut down, the ONLY thing running is BCN.
I'm currently trying to download smaller areas (instead of a 30x30 map, I'm trying to get a 10x10 one)--and so far it appears to be working. It, of course, means I have to do this 9 times--and hopefully BCN can stitch them together without an error.
Logged
Nathan
Administrator
Hero Member
Posts: 504
Re: Malloc ( ) failed?
«
Reply #5 on:
January 09, 2007, 12:29:56 PM »
Stay tuned on this issue.
We are starting to make some progress on these larger downloads after being stuck for a little while.
The perception is correct that there seems to be a leak of sorts. While memory is automatically managed and there "shouldn't" be any memory leaks. I've seen for these larger downloads that memory is slowly increasing instead of staying about the same as it should.
In more recent experiments to try and force the reclamation of memory, I've been able to get through a 30x30 download okay. While it took a while, it completed successfully without depleting main memory. We'll have to do some testing to make sure the fix is real before we can release it. We are anxious to get this fixed because a PC App solution, despite the convenience it provides, won't be ready quite as soon.
BCN shouldn't have any trouble fitting together the smaller maps- it's just a pain to do as you've noticed. But you can get the benefit of irregularly shaped maps, another thing we'd like to make easier.
Logged
daiichi
Newbie
Posts: 31
Re: Malloc ( ) failed?
«
Reply #6 on:
January 09, 2007, 09:28:06 PM »
I give up. Even 10x10's error out when appending to the overall file. I guess I'll just wait for the fix. Back to the Garmin 60csx.
Logged
Nathan
Administrator
Hero Member
Posts: 504
Re: Malloc ( ) failed?
«
Reply #7 on:
January 10, 2007, 12:04:37 AM »
2.2.3 has performed much better in tests with longer downloads. It made it through a 30x30. It may be worth trying out for those of you doing larger maps.
Logged
daiichi
Newbie
Posts: 31
Re: Malloc ( ) failed?
«
Reply #8 on:
January 10, 2007, 11:39:27 AM »
I just tried 2.2.3. It doesn't appear to be downloading my 30x30. Now, instead of a malloc() error it just sits there with no advancement n the Layer Progress bar.
I'm trying to download 032 45.92183 N 117 0.8095 W 30 x 30 1:1m scale.
Logged
Nathan
Administrator
Hero Member
Posts: 504
Re: Malloc ( ) failed?
«
Reply #9 on:
January 10, 2007, 03:40:30 PM »
I don't have a large enough storage card to try the download you are trying with the 1x1m scale. It could take up to 2 Gig. With the 1m scale enabled, one of the layers has maybe 92610 tiles to download, in which case I'm not surprised if you don't see much movement in a progress bar that only has a scale of 1 to 100%.
Without the 1m scale checked, I found the download to run unattended and created a file of 97.2 Meg.
2 Gig of data takes a while to download even on a PC. Unless you have a lot of storage space and time, I'd reccommend downloading this large of an area without the 1m scale, then download 1m for more specific areas. You won't get the benefit of 1m scale unless you are zoomed in to closer than the 1000 ft zoom. And it won't affect topos at all.
Logged
daiichi
Newbie
Posts: 31
Re: Malloc ( ) failed?
«
Reply #10 on:
January 10, 2007, 05:40:27 PM »
Out of curiosity, I left BCN running since I last posted. The progress bar *is* moving. The bar is ordinarily about 3 inches long total... and after roughly 10 hours, the progress is about 1/4 of an inch. It looks like it'll take a while. So far no malloc() errors, so I think the main problem is fixed.
Logged
Jeeperman
Full Member
Posts: 114
Re: Malloc ( ) failed?
«
Reply #11 on:
January 11, 2007, 07:01:26 AM »
Quote from: daiichi on January 09, 2007, 10:31:22 AM
I'm currently trying to download smaller areas (instead of a 30x30 map, I'm trying to get a 10x10 one)--and so far it appears to be working. It, of course, means I have to do this 9 times--and hopefully BCN can stitch them together without an error.
Just make sure you only use 1 map file...and the new info will append the old file.
Logged
daiichi
Newbie
Posts: 31
Re: Malloc ( ) failed?
«
Reply #12 on:
January 12, 2007, 08:19:04 AM »
Quote from: Jeeperman on January 11, 2007, 07:01:26 AM
Quote from: daiichi on January 09, 2007, 10:31:22 AM
I'm currently trying to download smaller areas (instead of a 30x30 map, I'm trying to get a 10x10 one)--and so far it appears to be working. It, of course, means I have to do this 9 times--and hopefully BCN can stitch them together without an error.
Just make sure you only use 1 map file...and the new info will append the old file.
That's what I was doing... and I was getting the malloc() errors. However, the new version 2.2.3 doesn't get the errors--but the download is s-l-o-w. I'm on day #3 of downloading a 30x30 map... and the progress bar is about 60% done. I figure in 2 more days, I'll have it.
Nathan... why don't you guys put up a bittorrent (or maybe just an FTP) site so we can upload/download these maps? Mine is a 30x30 of San Diego--and if other people have big enough SD or Compact flash cards, downloading db3 or BMD files from a site to their PC can save them up to 5 days. I sure would like something similar for Los Angeles, Anza Borrego, the San Francisco, Washington DC, etc....
Logged
fish10
Jr. Member
Posts: 86
Re: Malloc ( ) failed?
«
Reply #13 on:
January 12, 2007, 11:55:07 AM »
Wondering daiichi and Jeepermen. Things cost money to do. BCN for the price we pay is great. Wondering are you asking a lot out of Nathan and his company. Could some things your asking for raise the price?
Love BCN and the price I paid was great. Hope the price does not go up for all the develpments.
Have a great day Jerry Perch
Logged
rlridgeway
Jr. Member
Posts: 58
Re: Malloc ( ) failed?
«
Reply #14 on:
January 12, 2007, 07:46:40 PM »
I agree with Fish10. I have never gotten the error do realize there are limitations. I have downloaded a couple of 20X20 (topos only) without problems. To add aerials and the 1 meter would make to that file so large there are bound to be problems while downloading.
If one is not satisfied with Backcountry Navigator there are other programs out there. But try to find any better mapping software for the price.
Logged
Pages:
[
1
]
2
« previous
next »
Jump to:
Please select a destination:
-----------------------------
The Software
-----------------------------
=> Desktop Version
=> Future Features
=> Tips and Tricks
=> Troubleshooting
=> General Discussion
-----------------------------
The Outdoors
-----------------------------
=> Exchange
=> Trips
Main Menu
Main
Software Tour
Forum
Trouble Logging In?
CB Login
Username
Password
Remember me
Lost Password?
No account yet?
Register
CB Workflows
Trouble Logging In?
Reccommended Accessories:
OtterBox Cases
Aquapac Dry Cases
1GB Secure Digital Memory Card
Pocket PC GPS Receivers!
© 2008 BackCountry Navigator
Joomla!
is Free Software released under the GNU/GPL License.