Bug 9613 - measuretext & gettextbounds on Fonts from Assets increment Native memory on Android 4.1
Summary: measuretext & gettextbounds on Fonts from Assets increment Native memory on A...
Status: RESOLVED NORESPONSE
Alias: None
Product: Android
Classification: Xamarin
Component: General ()
Version: 4.2.x
Hardware: PC Windows
: Low normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2013-01-16 12:46 UTC by Allie Miller
Modified: 2013-11-26 09:37 UTC (History)
2 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:


Attachments
Test Project (191.84 KB, application/zip)
2013-01-16 12:46 UTC, Allie Miller
Details


Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED NORESPONSE

Description Allie Miller 2013-01-16 12:46:52 UTC
Created attachment 3233 [details]
Test Project

On jelly bean, when using measuretext & gettextbounds, it increments the native memory without limit. Only occurs with 4.1 & external TTF from assets on Android 4.03. 

Attached is a test project. 
After 12 hours of operation or less may use 124 MB of RAM and crash once and again. It is a simple widget that just displays the time every 30 sec

This project crash in android 4.0.4 and android 4.1. It looks like something hangs between [Mono] <-> [dalvik] <-> [native C] and objects were not released.