Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

切换语言内存增长没有降下来 #25

Open
LeongAndroid opened this issue Jul 14, 2017 · 0 comments
Open

切换语言内存增长没有降下来 #25

LeongAndroid opened this issue Jul 14, 2017 · 0 comments

Comments

@LeongAndroid
Copy link

通过Android monitors观察 第一次切换语言后,内存值会增加4到5M左右,之后一直保持住这个值,降不下来。
public String getPingYin(String inputString) {
char [] charstring= inputString.toCharArray();
return Pinyin.toPinyin(charstring[0]);
}

每次切换语言都会调用此方法。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant