Extensive "Grow heap (frag case)" messages

ShawnCastrianniShawnCastrianni USBeta ✭✭✭
edited April 2013 in Xamarin.Android

My Mono for Android app uses the ESRI ArcGIS thirdparty component that I wrapped myself. Sometimes, after the map loads its shapes, the UI starts to get very sluggish and lots of "Grow heap (frag case)" message start showing up. I assume the heap is being expanded to handle increased memory requirements? Since I am not currently interacting with the app and only the ESRI map has been loaded, I would assume it is the ESRI map requiring more memory to operate? Sometimes it takes as long as 30 seconds for the "Grow heap" messages to stop and then the UI is fast again. Is there anything I can do to prevent this? Is there some way to request that the android process start with a larger memory footprint so that it doesn't have to increase in size so much at the beginning? Any other suggestions?

Grow heap (frag case) to 19.031MB for 2432-byte allocation
Grow heap (frag case) to 19.032MB for 2418-byte allocation
Grow heap (frag case) to 19.036MB for 2402-byte allocation
Grow heap (frag case) to 19.040MB for 2430-byte allocation
Grow heap (frag case) to 19.041MB for 2448-byte allocation
Grow heap (frag case) to 19.051MB for 2388-byte allocation
Grow heap (frag case) to 19.053MB for 2426-byte allocation
Grow heap (frag case) to 19.059MB for 2394-byte allocation
Grow heap (frag case) to 19.060MB for 2416-byte allocation
Grow heap (frag case) to 19.063MB for 2490-byte allocation
Grow heap (frag case) to 19.068MB for 2420-byte allocation
Grow heap (frag case) to 19.073MB for 2414-byte allocation
Grow heap (frag case) to 19.078MB for 2400-byte allocation
Grow heap (frag case) to 19.081MB for 4016-byte allocation
Grow heap (frag case) to 19.086MB for 2356-byte allocation
Grow heap (frag case) to 19.092MB for 2400-byte allocation
Grow heap (frag case) to 19.096MB for 2344-byte allocation
Grow heap (frag case) to 19.100MB for 4016-byte allocation
Grow heap (frag case) to 19.104MB for 4016-byte allocation
Grow heap (frag case) to 19.111MB for 2386-byte allocation
Grow heap (frag case) to 19.114MB for 2428-byte allocation
Grow heap (frag case) to 19.119MB for 2416-byte allocation
Grow heap (frag case) to 19.124MB for 2396-byte allocation
Grow heap (frag case) to 19.126MB for 4016-byte allocation
Grow heap (frag case) to 19.133MB for 2374-byte allocation
Grow heap (frag case) to 19.134MB for 4016-byte allocation
Grow heap (frag case) to 19.136MB for 2382-byte allocation
Grow heap (frag case) to 19.142MB for 2380-byte allocation
Grow heap (frag case) to 19.143MB for 2460-byte allocation
Grow heap (frag case) to 19.147MB for 2390-byte allocation
Grow heap (frag case) to 19.154MB for 2400-byte allocation
Grow heap (frag case) to 19.160MB for 2388-byte allocation
Grow heap (frag case) to 19.160MB for 4016-byte allocation
Grow heap (frag case) to 19.170MB for 2408-byte allocation
Grow heap (frag case) to 19.172MB for 2424-byte allocation
Grow heap (frag case) to 19.175MB for 2360-byte allocation
Grow heap (frag case) to 19.180MB for 2424-byte allocation
Grow heap (frag case) to 19.183MB for 2406-byte allocation
Grow heap (frag case) to 19.187MB for 2368-byte allocation
Grow heap (frag case) to 19.188MB for 2390-byte allocation
Grow heap (frag case) to 19.196MB for 2456-byte allocation
Grow heap (frag case) to 19.199MB for 4016-byte allocation
Grow heap (frag case) to 19.204MB for 2434-byte allocation
Grow heap (frag case) to 19.209MB for 2364-byte allocation
Grow heap (frag case) to 19.211MB for 2378-byte allocation
Grow heap (frag case) to 19.213MB for 4016-byte allocation
Grow heap (frag case) to 19.220MB for 2352-byte allocation
Grow heap (frag case) to 19.224MB for 2346-byte allocation
Grow heap (frag case) to 19.225MB for 4016-byte allocation
Grow heap (frag case) to 19.232MB for 2394-byte allocation
Grow heap (frag case) to 19.234MB for 2376-byte allocation
Grow heap (frag case) to 19.236MB for 4016-byte allocation
Grow heap (frag case) to 19.242MB for 2392-byte allocation
Grow heap (frag case) to 19.245MB for 2398-byte allocation
Grow heap (frag case) to 19.249MB for 2398-byte allocation
Grow heap (frag case) to 19.253MB for 2348-byte allocation
Grow heap (frag case) to 19.254MB for 4016-byte allocation
Grow heap (frag case) to 19.260MB for 2428-byte allocation
Grow heap (frag case) to 19.265MB for 2446-byte allocation
Grow heap (frag case) to 19.268MB for 2420-byte allocation
Grow heap (frag case) to 19.270MB for 2428-byte allocation
Grow heap (frag case) to 19.274MB for 2446-byte allocation
Grow heap (frag case) to 19.279MB for 2364-byte allocation
Grow heap (frag case) to 19.285MB for 2410-byte allocation
Grow heap (frag case) to 19.287MB for 2388-byte allocation
Grow heap (frag case) to 19.292MB for 2370-byte allocation
Grow heap (frag case) to 19.296MB for 2408-byte allocation
Grow heap (frag case) to 19.300MB for 2390-byte allocation
Sign In or Register to comment.