It looks like you're building the simulator build. In this case, your host C
library will be used, so whatever calloc() returns really depends on it.
Do you know what sizes the program is trying to allocate? I assume you can
add a simple trace in case of failure.

Hope this helps

On Tue, May 26, 2009 at 9:34 AM, profect <profect.andr...@gmail.com> wrote:

> Hi all,
>
> I am learning Dalvik by debugging the code. I found some calloc invocations
> in allocateAuxStructures() function return NULL. I cound't trace into the
> calloc function, so I don't know if memory really runs out or due to other
> reasons.
>
> The following is my building environment:
> TARGET_PRODUCT=sim
> TARGET_BUILD_VARIANT=eng
> TARGET_SIMULATOR=true
> TARGET_BUILD_TYPE=release
> TARGET_ARCH=x86
> HOST_ARCH=x86
> HOST_OS=linux
> HOST_BUILD_TYPE=release
> BUILD_ID=
> TARGET_DEVBUILD=false
> TARGET_DALVIK_COMPILER=gcc
>
> Does anyone have clue in this?
>
> Many thanks.
>
> >
>

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

Reply via email to