Memory Management

  ... discussions about development with the GLES2 branch of AndEngine.

Re: Memory Management

Postby Mathew » Sat Jun 15, 2013 9:57 pm

Well sure we can do it, but I have to admit I am not really web developer, well maybe could do it in flash, should not be much work, but how we would prevent different people from messing up it (by editing different values for example)?
User avatar
Mathew
 
Posts: 1073
Joined: Sun Jul 31, 2011 2:49 pm
Location: Tarnów, Poland

Re: Memory Management

Postby RealMayo » Sat Jun 15, 2013 10:00 pm

I think you just make it a simple html table that only you have access to. Users can post to this thread about devices they have specs for. Then you consolidate the info into your website for them.
User avatar
RealMayo
 
Posts: 1694
Joined: Sat Sep 03, 2011 9:25 pm
Location: Chicago, IL

Re: Memory Management

Postby Mathew » Sat Jun 15, 2013 10:02 pm

Okay, I will play a bit with today I will let you know shortly, what different information about devices could we store in there?
User avatar
Mathew
 
Posts: 1073
Joined: Sun Jul 31, 2011 2:49 pm
Location: Tarnów, Poland

Re: Memory Management

Postby RealMayo » Sat Jun 15, 2013 10:21 pm

I'd say...
Manufacturer
Model
Ram
Storage
Screen resolution
Heap
API
User avatar
RealMayo
 
Posts: 1694
Joined: Sat Sep 03, 2011 9:25 pm
Location: Chicago, IL

Re: Memory Management

Postby Mathew » Sun Jun 16, 2013 12:03 am

Okay done, post your devices Here.

And library of those info is available Here.
User avatar
Mathew
 
Posts: 1073
Joined: Sun Jul 31, 2011 2:49 pm
Location: Tarnów, Poland

Re: Memory Management

Postby RealMayo » Sun Jun 16, 2013 12:31 am

Awesome!
On a side note, now that I see the heap size of the S3 being 64MB, I'm confused because that would mean it can't play Tractor Digger and it can't play Bad Piggies, etc.
User avatar
RealMayo
 
Posts: 1694
Joined: Sat Sep 03, 2011 9:25 pm
Location: Chicago, IL

Re: Memory Management

Postby Mathew » Sun Jun 16, 2013 12:48 am

I will check it tomorrow at morning and try confirm. I will also attach small app which gathers those details so maybe it will encourage more devs to help.
User avatar
Mathew
 
Posts: 1073
Joined: Sun Jul 31, 2011 2:49 pm
Location: Tarnów, Poland

Re: Memory Management

Postby e.r. » Sun Jun 16, 2013 1:07 am

I think the 64 Mbytes is the max available for Dalvik heap (Total = Dalvik + Heap), it is definitely not the total heap because the gnex also has max of 64, and plays most of the games. I am quite convinced with the interpretation :) but i'll wait for the experts confirmation.

Epic follow up on the table thanks for both of you for the implementation : ) I'll provide you with the details of my devices tomorrow
User avatar
e.r.
 
Posts: 557
Joined: Sun Sep 09, 2012 1:41 pm

Re: Memory Management

Postby Mathew » Sun Jun 16, 2013 8:38 pm

How about garbage collector in your games? I was trying to get rid of all GC`s during game-play I could (well besides those happening while restarting level) but one GC left.. fortunately is not really noticeable even on slower devices, but still is making me mad just because I see it

Image

I am trying to spot possible leak but keep failing so far, how about you guys? Have you managed to get rid of GC completely?
User avatar
Mathew
 
Posts: 1073
Joined: Sun Jul 31, 2011 2:49 pm
Location: Tarnów, Poland

Re: Memory Management

Postby RealMayo » Sun Jun 16, 2013 8:44 pm

Definitely not me. I've got garbage collection happening throughout my game. What can you even do to prevent it?
User avatar
RealMayo
 
Posts: 1694
Joined: Sat Sep 03, 2011 9:25 pm
Location: Chicago, IL

PreviousNext

Return to GLES2

Who is online

Users browsing this forum: Google [Bot] and 105 guests