Announcements: Disposing Routing Pages
1 to 5 of 5
-
- CommentAuthornixbure
- CommentTimeMar 31st 2011
Hi, Is there a way to free Routing Pages of Memory?
Regards -
- CommentAuthorSharonD
- CommentTimeMar 31st 2011
Hi,
GeoBase typically holds onto memory it has already allocated so that it does not have to go through the process of re-allocating the memory again during future operations. You can still use Ram.FreeUnusedPages() to free memory on Desktop, however this is not available on Mobile.
GeoBase is meant to use a constant amount of memory. If you encounter memory leaking issue please let us know.
Regards,
Sharon -
- CommentAuthornixbure
- CommentTimeMar 31st 2011
Hi The memory is not the problem, the problem is the routing pages, when I have a few Free Pages and I start a new route, the system throws me a RoutingOutOfMemoryException.
Regards
Mario -
- CommentAuthorSharonD
- CommentTimeMar 31st 2011
Hi Mario,
Is it a long route? What are the latlons? How you have implemented the route? What is your GeoBase version and data file name?
You can also use Telogis.GeoBase.Mobile.Ram.IncreasePages() to increase the amount of RAM available to GeoBase.
Regards,
Sharon -
- CommentAuthornixbure
- CommentTimeApr 1st 2011
Hi Sharon.
In deed for testing I used different routes, some of them are long routes. The Geobase Version is 3.6 and the data file is NAVTEQ_Mexico_10Q4_30x110127-1119. I use the Navigation Manager for routing.
And I started to use Ram.MemoryInfo.FreePages and RAM.IncresePages for this. The thing that I see in that in Geobase SDK it frees memory randomly. Sometimes it frees the Routing PAges and sometimes it doesn't
But Thanks for the help Sharon
Regards
Mario
1 to 5 of 5
