Android memory problem v64b

Monkey Forums/Monkey Bug Reports/Android memory problem v64b

Origaming(Posted 2012) [#1]
Hi, I'm trying to build android version with v64b. After I tested it, it was crashed.
Then, I did some research. It was crashed because of the memory capacity, and the problem is it works at v63b, I have no idea this is bug or not.

these are task manager from my device :
v64b

v63b


same steps : Start - Stage Selection - and see the task manager


[edit]
sorry i forgot to change captured image resolution


marksibly(Posted 2012) [#2]
Hi,

No idea what's happening there - I can't reproduce it anyway.

Does it happen with all/any samples? Which ones?

Can you post some code or email me the project?

What task manager are you using?


Origaming(Posted 2012) [#3]
Normally, when change between screens, I delete the old one assets and load the other. I done this because I can't load all of my assets at beginning.

i am using Samsung GTAB 7'7, using android task manager,

Here is my code :

First of all, you need to download :
http://code.google.com/p/diddy/downloads/list
http://code.google.com/p/orimonkey/downloads/list

And you can see the result just like this :



marksibly(Posted 2012) [#4]
Images files...?


Origaming(Posted 2012) [#5]
\bananas\origaming\RotatingObjects\rotatingObjects.data\bullet.png


marksibly(Posted 2012) [#6]
Hi,

Had a go, and it just dies here on my Nexus 7 after the textures are discarded.

But after messing around with it for a bit, I think you may be drawing a discarded image somewhere - perhaps the 'precache' is queuing up images to be drawn, that you then discard before they're actually drawn?


Origaming(Posted 2012) [#7]
sorry, my last code was not detail. Here is my code again.