android-developers
[Arriba] [Todas las Listas]

Re: [android-developers] Re: La Memoria no es reclaimed bastante rápido

To: android-developers@xxxxxxxxxxxxxxxx
Subject: Re: [android-developers] Re: La Memoria no es reclaimed bastante rápido cuándo la Actividad es cerrada
From: Mark Murphy <mmurphy@xxxxxxxxxxxxxxx>
Date: Mon, 31 Oct 2011 19:24:15 -0400
Delivery-date: Mon, 31 Oct 2011 19:25:05 -0400
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=beta; h=x-beenthere:received-spf:mime-version:in-reply-to:references:from :date:message-id:subject:to:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-google-group-id:list-post:list-help:list-archive:sender :list-subscribe:list-unsubscribe:content-type :content-transfer-encoding; bh=Wv9xYBvPSQ36fxbTJUhbJ5dbwyV9LTsqr9J18gtbDTY=; b=J3V3jn/UUU5dTcXbLcoCxGAZk+TylHIo5qUUOBUhTXY2LC5HF3EScatkOpSKUOXFqv oPHYgS6kS5aHZLhqLCqAZTEm4aMnqHehxrMidl/XnIUaLbaOExOlWBjdk5nQEY5LROAK p7lsotw8yJA0jQRqK7Wm6vjMxx87ZRedXSXD8=
Envelope-to: traductor@xxxxxxxxxxx
In-reply-to: <CAF1Sy-H33hRXvAuyJTvApXPrug=i7=BLexxRJMfwmupJBCauYg@mail.gmail.com>
List-archive: <http://groups.google.com/group/android-developers?hl=en_US>
List-help: <http://groups.google.com/support/?hl=en_US>, <mailto:android-developers+help@googlegroups.com>
List-id: <android-developers.googlegroups.com>
List-post: <http://groups.google.com/group/android-developers/post?hl=en_US>, <mailto:android-developers@googlegroups.com>
List-subscribe: <http://groups.google.com/group/android-developers/subscribe?hl=en_US>, <mailto:android-developers+subscribe@googlegroups.com>
List-unsubscribe: <http://groups.google.com/group/android-developers/subscribe?hl=en_US>, <mailto:android-developers+unsubscribe@googlegroups.com>
Mailing-list: list android-developers@xxxxxxxxxxxxxxxx; contact android-developers+owners@xxxxxxxxxxxxxxxx
References: <d929d42b-b18c-47df-b99c-fe6865f5092c@eh5g2000vbb.googlegroups.com> <CALLdnhPfKLEeg_za7pmtXvqkRxZo75GLAGoN+mKKqcj_gKa3uA@mail.gmail.com> <32197a97-f08b-4f5e-8f40-90a50062e1bf@x20g2000vbl.googlegroups.com> <CALLdnhPx9z+AWqvO9VZQADLgg_mx3vLh1VgfP3iyoER7nuRr7A@mail.gmail.com> <32d693a9-d2b6-4652-936c-bab4dd0c5309@v5g2000vbh.googlegroups.com> <CAF1Sy-H33hRXvAuyJTvApXPrug=i7=BLexxRJMfwmupJBCauYg@mail.gmail.com>
Reply-to: android-developers@xxxxxxxxxxxxxxxx
Sender: android-developers@xxxxxxxxxxxxxxxx
En *Mon, *Oct 31, 2011 en 7:17 PM, Kristopher *Micinski
<krismicinski@xxxxxxxxx> escribió:
> Incluso entonces, esto no es realmente un *Android cuestión específica.  Es más
> de un *Java cuestión específica, o una ingeniería de software cuestión
> relacionada.  Aun así, podría ser guapo de incluir un poco de información
> sobre colección de basura y memoria *reclaiming cuando relaciona a *Android.
> 

Bien, varios *techniques para probar para utilizar menos memoria tendrá algunos
*Android-facetas específicas. Mientras material como *SoftReference-basado *caching
sería en gran parte en común con *Java, enladrilló *bitmaps (*vs. Imagen realmente
grande archivos) sería más *Android-específico, sencillamente porque seríamos
utilizar material como *BitmapFactory.

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

*Android 3.1 Libros de Programación: *http://*commonsware.*com/Libros

-- 
recibiste este mensaje porque eres *subscribed al *Google
Grupos "*Android *Developers" grupo.
A correo a este grupo, envía *email a *android-developers@xxxxxxxxxxxxxxxx
A *unsubscribe de este grupo, envía *email a *android-*developers+unsubscribe@xxxxxxxxxxxxxxxx

Puesto que más opciones, visita este grupo en
*http://grupos.*google.*com/Grupo/*android-*developers?*hl=*en

On Mon, Oct 31, 2011 at 7:17 PM, Kristopher Micinski
<krismicinski@xxxxxxxxx> wrote:
> Even then, this isn't really an Android specific question.  It's more
> of a Java specific question, or a software engineering related
> question.  However, it might be nice to include a bit of information
> about garbage collection and memory reclaiming as it relates to
> Android.

Well, various techniques for trying to use less memory will have some
Android-specific facets. While stuff like SoftReference-based caching
would be largely in common with Java, tiled bitmaps (vs. really big
image files) would be more Android-specific, simply because we'd be
using stuff like BitmapFactory.

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

Android 3.1 Programming Books: http://commonsware.com/books

-- 
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@xxxxxxxxxxxxxxxx
To unsubscribe from this group, send email to
android-developers+unsubscribe@xxxxxxxxxxxxxxxx
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

<Anterior por Tema] Tema Actual [Siguiente por Tema>