Question on AnswerHub: https://answers.unrealengine.com/questions/299035/not-enough-space-ue4client-armv7-es2so.html
I’m building the Development Client
for Android
for UE 4.9
but I’m running into an allocation issue when it’s creating the native library.
18>C:/NVPACK/android-ndk-r9c/toolchains/arm-linux-androideabi-4.8/prebuilt/windows/lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld.exe : fatal error : C:/UnrealEngine/UnrealEngine_4_9/Engine/Binaries/Android/UE4Client-armv7-es2.so: mmap: failed to allocate 679894136 bytes for output file: Not enough space
18>clang++.exe : error : linker command failed with exit code 1 (use -v to see invocation)
Is there a setting that I could use to increase the limit? The unstripped native library is under 1GB. Has anyone else run into this issue? I’m building from the unmodified 4.9 source. Development Editor
builds successfully. Development Client
fails to build.
Looks like it’s still using NDK 9c. I’ll try upgrading. C:/NVPACK/android-ndk-r9c
. I missed updating the ANDROID_NDK_ROOT
environment variable.
Thanks,
~Tim Graupmann