-
J2ME Phone Memory TestComputer/J2ME for GSM 2005. 1. 12. 23:01
Nokia Series 40 platform 메모리 최적화 과정중에 발견한 결과들
1. Just Creating InputStream of size 9215, 5722
7210
200412 - 191180 = 9232 bytes(9215 bytes)
200412 - 194672 = 5740 bytes(5722 bytes)6230
7647680 - 7638444 = 9236 bytes(9215 bytes)
7647680 - 7641936 = 5744 bytes(5722 bytes)... InputStream object size is as large as the file size.
2. Creating InputStream & Image of size 442
7210 : 1968 bytes
6230 : 972 bytes
... 7210 may have stupid implementation
3. Creating Image by createImage of size 442
7210 : 1508 bytes
6230 : 512 bytes4. Comparision between 2 & 3
1968 - 1508 = 460 ( ~ 442)
972 - 512 = 460 ( ~ 442)
... this result confirms 1.