久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

    <bdo id='jCurO'></bdo><ul id='jCurO'></ul>

    <legend id='jCurO'><style id='jCurO'><dir id='jCurO'><q id='jCurO'></q></dir></style></legend>

      <small id='jCurO'></small><noframes id='jCurO'>

      <i id='jCurO'><tr id='jCurO'><dt id='jCurO'><q id='jCurO'><span id='jCurO'><b id='jCurO'><form id='jCurO'><ins id='jCurO'></ins><ul id='jCurO'></ul><sub id='jCurO'></sub></form><legend id='jCurO'></legend><bdo id='jCurO'><pre id='jCurO'><center id='jCurO'></center></pre></bdo></b><th id='jCurO'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='jCurO'><tfoot id='jCurO'></tfoot><dl id='jCurO'><fieldset id='jCurO'></fieldset></dl></div>
    1. <tfoot id='jCurO'></tfoot>
    2. Android:分配內存失敗

      Android: failed to allocate memory(Android:分配內存失敗)

      • <i id='Q2iJ0'><tr id='Q2iJ0'><dt id='Q2iJ0'><q id='Q2iJ0'><span id='Q2iJ0'><b id='Q2iJ0'><form id='Q2iJ0'><ins id='Q2iJ0'></ins><ul id='Q2iJ0'></ul><sub id='Q2iJ0'></sub></form><legend id='Q2iJ0'></legend><bdo id='Q2iJ0'><pre id='Q2iJ0'><center id='Q2iJ0'></center></pre></bdo></b><th id='Q2iJ0'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='Q2iJ0'><tfoot id='Q2iJ0'></tfoot><dl id='Q2iJ0'><fieldset id='Q2iJ0'></fieldset></dl></div>
        <legend id='Q2iJ0'><style id='Q2iJ0'><dir id='Q2iJ0'><q id='Q2iJ0'></q></dir></style></legend>
          <tbody id='Q2iJ0'></tbody>

      • <tfoot id='Q2iJ0'></tfoot>

          <small id='Q2iJ0'></small><noframes id='Q2iJ0'>

          • <bdo id='Q2iJ0'></bdo><ul id='Q2iJ0'></ul>
                本文介紹了Android:分配內存失敗的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                問題描述

                我正在嘗試創建一個具有 2047 mb 內存的模擬器.當我運行它時,我得到了這個錯誤:

                [2011-02-22 14:24:14 - 模擬器][2011-02-22 14:24:14 - Emulator] 此應用程序已請求運行時以不尋常的方式終止它.[2011-02-22 14:24:14 - Emulator] 請聯系應用程序的支持團隊以獲取更多信息.[2011-02-22 14:24:26 - 模擬器] 分配內存失敗:8

                我知道降低數字會使它起作用.但我寧愿擁有更多的內存,這樣我就可以測試我正在開發的游戲.我假設有更多的內存,它會運行得更快......

                有人在模擬器上安裝了 2047 mb 的內存嗎?如果是這樣,怎么做?您使用了哪些設置?您是否更改了計算機上的任何特別內容?

                使用windows 7 64位,更新到最新的android sdk.我還有超過 8gb 的可用內存.我確實有一個設備(摩托羅拉里程碑)可以測試,但是由于它是一個基于網絡的游戲,除了我的手機之外,我還需要至少一個其他客戶端(希望使用模擬器)來運行.

                解決方案

                運行更快的模擬器的解決方案:

                http://androiddevnotes.com/2011/03/08/1299521520000.htmlp>

                讓我的游戲運行速度更快,堪比手機質量.

                -- 2012 年 8 月 24 日更新--

                我看到仍然有人來這里評論這個答案,我對這個問題做了更多的研究.我向您介紹我的發現結果.

                注意:這些測試是在我的電腦上運行的,您的電腦可能不同.

                1. 使用屬性設備內存大小"= 2048 運行 Android 2.2 (armeabi) 模擬器將失敗,和以前一樣
                2. 運行一個 Android 2.2 (armeabi) 模擬器,屬性 'Device ram size' = 2048 MB 會通過,然而如果你真的檢查設備上的 ram,它的大約 128 MB.
                  • 檢查 1:設置 > 應用程序 > 運行服務 - 在屏幕底部添加所有數字
                  • 檢查 2:在 adb shell 中運行以下命令:cat/proc/meminfo/ 并注意 MemTotal 字段
                3. 使用屬性設備內存大小"= 2048 運行 Android 4.1 (armeabi-v7) 模擬器將可以工作,但是如果您實際檢查設備上的內存,它大約為 512 MB
                  • 檢查 1:設置 > 應用程序 > 運行選項卡 - 在屏幕底部添加所有數字
                  • 檢查 2:在 adb shell 中運行以下命令:cat/proc/meminfo/ 并注意 MemTotal 字段
                4. 運行一個 Android 4.1 (armeabi-v7) 模擬器,屬性 'Device ram size' = 2048 MB 也可以,但結果與 3 相同.

                結論

                添加 'MB'(如下面的一些評論中所述)可能會允許您的設備啟動,但它實際上沒有 2 GB 的 RAM.即使使用 4.1 模擬器,RAM 大小也為 512 MB.

                推薦

                請使用實際設備進行測試.

                I'm trying to create an emulator with 2047 mb ram. When I run it, I get this error:

                [2011-02-22 14:24:14 - Emulator]
                [2011-02-22 14:24:14 - Emulator] This application has requested the Runtime to terminate it in an unusual way.
                [2011-02-22 14:24:14 - Emulator] Please contact the application's support team for more information.
                [2011-02-22 14:24:26 - Emulator] Failed to allocate memory: 8
                

                I understand that lowering the number will make it work. But I'd rather have it with more ram, so I can test a game I'm developing. I'm assuming with more ram, it would run faster...

                Has anyone got 2047 mb of ram on the emulator? If so, how? What settings did you use? Did you change anything special on your computer?

                Using windows 7 64-bit, updated to the latest android sdk. Also I have over 8gb of ram available. I do have one device (motorola milestone) to test on, however since it is a network-based game I need at least one other client (hoping to use the emulator) to run with in addition to my phone.

                解決方案

                Solution to running a faster emulator:

                http://androiddevnotes.com/2011/03/08/1299521520000.html

                Runs my game a lot faster, comparable to phone quality.

                -- Update 08/24/12 --

                I see that people still come here and comment on this answer, and I have done more research on this issue. I present to you the results of my findings.

                NOTE: These tests were run on my computer, your computer may be different.

                1. Running an Android 2.2 (armeabi) emulator with Property 'Device ram size' = 2048 will fail, just as before
                2. Running an Android 2.2 (armeabi) emulator with Property 'Device ram size' = 2048 MB will pass, however if you actually check the ram on the device, its around 128 MB.
                  • check 1: Settings > Applications > Running Services - add all the numbers on the bottom of the screen
                  • check 2: run the following command in adb shell: cat /proc/meminfo/ and note the MemTotal field
                3. Running an Android 4.1 (armeabi-v7) emulator with Property 'Device ram size' = 2048 will work, however if you actually check the ram on the device its around 512 MB
                  • check 1: Settings > Apps > Running tab - add all the numbers on the bottom of the screen
                  • check 2: run the following command in adb shell: cat /proc/meminfo/ and note the MemTotal field
                4. Running an Android 4.1 (armeabi-v7) emulator with Property 'Device ram size' = 2048 MB will work as well, but with the same results as 3.

                Conclusion

                Adding 'MB' as noted in some of the comments below may allow your device to be launched, however it doesn't actually have 2 GB of RAM. Even with a 4.1 Emulator, the RAM Size is at 512 MB.

                Recommendation

                Please use an actual device for testing.

                這篇關于Android:分配內存失敗的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

                【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

                相關文檔推薦

                Get user#39;s current location using GPS(使用 GPS 獲取用戶的當前位置)
                IllegalArgumentException thrown by requestLocationUpdate()(requestLocationUpdate() 拋出的 IllegalArgumentException)
                How reliable is LocationManager#39;s getLastKnownLocation and how often is it updated?(LocationManager 的 getLastKnownLocation 有多可靠,多久更新一次?)
                How to detect Location Provider ? GPS or Network Provider(如何檢測位置提供者?GPS 或網絡提供商)
                Get current location during app launch(在應用啟動期間獲取當前位置)
                locationManager.getLastKnownLocation() return null(locationManager.getLastKnownLocation() 返回 null)

                    <tbody id='YCwMe'></tbody>
                  • <bdo id='YCwMe'></bdo><ul id='YCwMe'></ul>
                      <tfoot id='YCwMe'></tfoot>
                        1. <legend id='YCwMe'><style id='YCwMe'><dir id='YCwMe'><q id='YCwMe'></q></dir></style></legend>

                          <small id='YCwMe'></small><noframes id='YCwMe'>

                          <i id='YCwMe'><tr id='YCwMe'><dt id='YCwMe'><q id='YCwMe'><span id='YCwMe'><b id='YCwMe'><form id='YCwMe'><ins id='YCwMe'></ins><ul id='YCwMe'></ul><sub id='YCwMe'></sub></form><legend id='YCwMe'></legend><bdo id='YCwMe'><pre id='YCwMe'><center id='YCwMe'></center></pre></bdo></b><th id='YCwMe'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='YCwMe'><tfoot id='YCwMe'></tfoot><dl id='YCwMe'><fieldset id='YCwMe'></fieldset></dl></div>
                          主站蜘蛛池模板: 黄免费观看 | 99久久免费精品国产男女高不卡 | 福利网站导航 | 粉嫩一区二区三区国产精品 | 日韩av在线免费 | 日本黄色大片免费 | 九九热在线视频免费观看 | 日韩一区二区av | 性生生活大片免费看视频 | 欧美日韩在线一区二区 | 亚洲视频欧美视频 | 自拍偷拍亚洲一区 | 神马久久久久久久久久 | 91免费在线 | 久久99精品久久久久久国产越南 | 亚洲男人天堂2024 | 亚洲图片一区二区三区 | 成年网站在线观看 | 免费黄视频网站 | av免费在线播放 | 乱码av午夜噜噜噜噜动漫 | 久久综合久色欧美综合狠狠 | 韩国av一区二区 | 欧美激情一区二区三区 | 国产伦精品一区二区 | 欧美一区二区三区在线观看视频 | 美女二区 | www.夜夜骑.com | 成人午夜看片 | 福利视频网址 | 中文精品视频 | 久久成人一区 | 精品国产18久久久久久二百 | 91精品国产91 | 欧美视频在线播放 | 99精品国自产在线观看 | 日韩电影免费在线观看中文字幕 | 久久伊人在 | 欧美在线高清 | 精品美女久久久久久免费 | 国产日韩一区 |