久久久久久久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:分配內(nèi)存失敗

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

      • <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:分配內(nèi)存失敗的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學(xué)習(xí)吧!

                問題描述

                我正在嘗試創(chuàng)建一個具有 2047 mb 內(nèi)存的模擬器.當(dāng)我運(yùn)行它時,我得到了這個錯誤:

                [2011-02-22 14:24:14 - 模擬器][2011-02-22 14:24:14 - Emulator] 此應(yīng)用程序已請求運(yùn)行時以不尋常的方式終止它.[2011-02-22 14:24:14 - Emulator] 請聯(lián)系應(yīng)用程序的支持團(tuán)隊(duì)以獲取更多信息.[2011-02-22 14:24:26 - 模擬器] 分配內(nèi)存失敗:8

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

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

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

                解決方案

                運(yùn)行更快的模擬器的解決方案:

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

                讓我的游戲運(yùn)行速度更快,堪比手機(jī)質(zhì)量.

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

                我看到仍然有人來這里評論這個答案,我對這個問題做了更多的研究.我向您介紹我的發(fā)現(xiàn)結(jié)果.

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

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

                結(jié)論

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

                推薦

                請使用實(shí)際設(shè)備進(jìn)行測試.

                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.

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

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

                相關(guān)文檔推薦

                Get user#39;s current location using GPS(使用 GPS 獲取用戶的當(dāng)前位置)
                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 或網(wǎng)絡(luò)提供商)
                Get current location during app launch(在應(yīng)用啟動期間獲取當(dāng)前位置)
                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>
                          主站蜘蛛池模板: 成人av片在线观看 | 欧美一级在线观看 | 一级黄色片一级黄色片 | 中文字幕在线免费观看 | 亚洲人成在线播放 | 亚洲综合三区 | 成人一区二区三区在线观看 | 在线亚州 | 中文字幕国产视频 | 久久成人一区 | 亚洲天堂999 | 欧美一区二区三区在线看 | 亚洲va欧美va人人爽午夜 | 欧美aaa级 | 欧美一区二区三区精品 | 中文字幕高清免费日韩视频在线 | 国产网站在线 | 免费在线毛片 | 欧美中文字幕一区二区三区亚洲 | 日韩一区二区在线视频 | 一级毛片免费 | 日本一区二区不卡 | 日韩三级 | 天天综合干 | 美女天堂 | 91传媒在线观看 | 中文字幕在线播放第一页 | 欧美久久一区 | a级毛片免费高清视频 | 色婷婷一区二区三区四区 | 国产精品性做久久久久久 | 成人aaa视频 | 99久久中文字幕三级久久日本 | 久久久久中文字幕 | 久久69精品久久久久久久电影好 | 国产乱码久久久久久 | 久草视频在线播放 | 成人网av | 狠狠干狠狠操 | 亚洲成人精品久久 | 91免费在线视频 |