I found out that our app takes a lot of memory when there is a mrsid file loaded, at first I thought there is something wrong in our app, but then I found the same problem in the GeoViewer.
So I guess the SDK uses cache by default, right?
And is there a way to turn that off?
Is it leaking or caching?
Moderator: jskiffington
5 posts
• Page 1 of 1
GeoViewer does do some memory caching (on the order of numLevels * areaOfViewRect) however, the library that manages this is not shipped with the SDK.
The SDK does not do any memory caching. You would have to set that up yourself in your app. How much memory usage are you seeing? How large is the image you are loading into your app?
The SDK does not do any memory caching. You would have to set that up yourself in your app. How much memory usage are you seeing? How large is the image you are loading into your app?
- ChrisH
- Posts: 14
- Joined: Tue Feb 12, 2008 10:20 am
Oh, this does not sound good......
The mrsid file is about 600MB, and the memory usage goes up as I pan or zoom in/out the map. I did not test it for too long, but it takes up to 500MB of memory after 10 minutes.
The mrsid file is about 600MB, and the memory usage goes up as I pan or zoom in/out the map. I did not test it for too long, but it takes up to 500MB of memory after 10 minutes.
- cuipengfei@thinkgeo.com
- Posts: 6
- Joined: Mon Mar 28, 2011 1:14 am
nope, both the MFC viewer and Win Forms viewer works fine.
I guess the bug is probably in our wrapper.
Thanks for all the help.
I guess the bug is probably in our wrapper.
Thanks for all the help.
- cuipengfei@thinkgeo.com
- Posts: 6
- Joined: Mon Mar 28, 2011 1:14 am
5 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 2 guests
- Forum index
- The team • Delete all board cookies • All times are UTC - 7 hours
