Questions regarding the NDK are best asked on the android-ndk Google
Group. Native code (C/C++) has no heap limit, AFAIK.

On Fri, Aug 17, 2012 at 9:56 AM, Mihael Nikolaev <[email protected]> wrote:
> Hi. i'm porting game from Windows to Android. When i launch game in a
> simulator all works fine, but when i'm trying to start game on device, game
> crashes before entry point without any messages. Game was written completely
> using C++ templates and has a lot of static variables, games' sources
> contains few huge files with data initialize code. For porting to Android i
> use Android NDK. I think that problem is because of initialization tons of
> static variables. Does anybody know what memory limit is on Android per
> application? (I read article dated 2010, there written "For Android
> applications, the limit for each application is 16MB") If somebody solved
> such problem before, help me. Any suggestions are welcome.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en



-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_The Busy Coder's Guide to Android Development_ Version 4.0 Available!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to