C#/Xamarin Maui

(Error) Java.Lang.OutOfMemoryError: Failed to allocate a 100712460 byte allocation with 16768736 free bytes and 55MB until OOM 발생

kjun.kr 2018. 6. 15. 21:48
728x90

이미지를 표현하는데 아래 처럼 에러가 발생되었다.

Unhandled Exception:

Java.Lang.OutOfMemoryError: Failed to allocate a 100712460 byte allocation with 16768736 free bytes and 55MB until OOM 발생

 

용량이 커서 그런가 했는데 1메가도 안된다.

무슨 문제인지 찾아보니 크기 문제였다.

크기를 조정하니 해결이 되었다.

다른 방법도 있는것 같다 아래 링크 참고..

https://stackoverflow.com/questions/32244851/androidjava-lang-outofmemoryerror-failed-to-allocate-a-23970828-byte-allocatio/32245018

 

 

 

 

 

728x90