XE7 UP1 compiled Android debug Times "failed to allocate 190397160 bytes for output file:not enough space"

Source: Internet
Author: User

A project, has been compiled into Android debug no problem, today added a frame, under win debugging normal, to compile output Android debug times under the error


[DCC Error] E2597 D:\Embarcadero\Studio\15.0\PlatformSDKs\android-ndk-r9c\toolchains\arm-linux-androideabi-4.6\prebuilt\ Windows\bin\arm-linux-androideabi-ld.exe:fatal error:. \\android\\debug\\libxxx.so:mmap:failed to allocate 190397160 bytes for output file:not enough space

A look at the disk remaining space there are several g, should not be the problem of insufficient disk space;

Restarting XE7 is still not possible, but compiling to Android release is OK, and then trying to get rid of the newly added frame is normal.

On Google on the Embarcadero Discussion Forums Search also has 2 people post asked the same question, but there is no reply back

Find https://code.google.com/p/vs-android/wiki/Troubleshooting back.

The handling of the reference inside solves the problem:

1) Add a "_java_options" to the environment variable in Windows with a value of "-xms256m-xmx512m"


2) After saving, restart the computer, and then compile the normal

The default Java virtual machine size is small, Java will error when processing big data

    • -XMS is the size of the set memory initialization
    • -XMX is to set the maximum amount of memory that can be used

For details, refer to:

    • http://zhli986-yahoo-cn.iteye.com/blog/1149233
    • Https://code.google.com/p/vs-android/wiki/Troubleshooting

XE7 UP1 compiled Android debug Times "failed to allocate 190397160 bytes for output file:not enough space"

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.