Autore Topic: out of memory  (Letto 909 volte)

Offline prezzemolo86

  • Nuovo arrivato
  • *
  • Post: 36
  • Respect: +1
    • Mostra profilo
out of memory
« il: 31 Maggio 2013, 00:40:23 CEST »
0
Codice: [Seleziona]
05-31 00:28:03.340: D/dalvikvm(19919): GC_FOR_ALLOC freed <1K, 3% free 47728K/48711K, paused 17ms
05-31 00:28:03.410: D/dalvikvm(19919): GC_FOR_ALLOC freed <1K, 3% free 47728K/48711K, paused 18ms
05-31 00:28:03.500: D/dalvikvm(19919): GC_FOR_ALLOC freed 1K, 3% free 47728K/48711K, paused 18ms
05-31 00:28:03.580: D/dalvikvm(19919): GC_FOR_ALLOC freed <1K, 3% free 47728K/48711K, paused 18ms
05-31 00:28:03.640: D/dalvikvm(19919): GC_FOR_ALLOC freed <1K, 3% free 47728K/48711K, paused 18ms
05-31 00:28:03.700: D/dalvikvm(19919): GC_FOR_ALLOC freed <1K, 3% free 47728K/48711K, paused 17ms
05-31 00:28:04.050: D/dalvikvm(19919): GC_FOR_ALLOC freed 1K, 3% free 47729K/48711K, paused 18ms
05-31 00:28:04.110: D/dalvikvm(19919): GC_FOR_ALLOC freed <1K, 3% free 47728K/48711K, paused 18ms
05-31 00:28:04.170: D/dalvikvm(19919): GC_FOR_ALLOC freed <1K, 3% free 47728K/48711K, paused 18ms
05-31 00:28:04.230: D/dalvikvm(19919): GC_FOR_ALLOC freed <1K, 3% free 47728K/48711K, paused 19ms
05-31 00:28:04.290: D/dalvikvm(19919): GC_FOR_ALLOC freed <1K, 3% free 47728K/48711K, paused 18ms
05-31 00:28:04.360: D/dalvikvm(19919): GC_FOR_ALLOC freed <1K, 3% free 47728K/48711K, paused 24ms
05-31 00:28:04.420: D/dalvikvm(19919): GC_FOR_ALLOC freed <1K, 3% free 47728K/48711K, paused 18ms
05-31 00:28:04.480: D/dalvikvm(19919): GC_FOR_ALLOC freed <1K, 3% free 47728K/48711K, paused 18ms
05-31 00:28:04.540: D/dalvikvm(19919): GC_FOR_ALLOC freed <1K, 3% free 47728K/48711K, paused 18ms
05-31 00:28:04.610: D/dalvikvm(19919): GC_FOR_ALLOC freed <1K, 3% free 47728K/48711K, paused 17ms
05-31 00:28:04.670: D/dalvikvm(19919): GC_FOR_ALLOC freed <1K, 3% free 47728K/48711K, paused 18ms
05-31 00:28:04.740: D/dalvikvm(19919): GC_FOR_ALLOC freed <1K, 3% free 47728K/48711K, paused 18ms
05-31 00:28:04.800: D/dalvikvm(19919): GC_FOR_ALLOC freed <1K, 3% free 47728K/48711K, paused 18ms
05-31 00:28:04.870: D/dalvikvm(19919): GC_FOR_ALLOC freed <1K, 3% free 47728K/48711K, paused 18ms
05-31 00:28:04.940: D/dalvikvm(19919): GC_FOR_ALLOC freed <1K, 3% free 47728K/48711K, paused 19ms
05-31 00:28:05.010: D/dalvikvm(19919): GC_FOR_ALLOC freed <1K, 3% free 47728K/48711K, paused 18ms
05-31 00:28:05.080: D/dalvikvm(19919): GC_FOR_ALLOC freed <1K, 3% free 47728K/48711K, paused 19ms
05-31 00:28:05.150: D/dalvikvm(19919): GC_FOR_ALLOC freed <1K, 3% free 47728K/48711K, paused 19ms
05-31 00:28:05.220: D/dalvikvm(19919): GC_FOR_ALLOC freed <1K, 3% free 47728K/48711K, paused 18ms
05-31 00:28:05.290: D/dalvikvm(19919): GC_FOR_ALLOC freed <1K, 3% free 47728K/48711K, paused 18ms
05-31 00:28:05.370: D/dalvikvm(19919): GC_FOR_ALLOC freed <1K, 3% free 47728K/48711K, paused 19ms
05-31 00:28:05.440: D/dalvikvm(19919): GC_FOR_ALLOC freed <1K, 3% free 47728K/48711K, paused 18ms
05-31 00:28:05.510: D/dalvikvm(19919): GC_FOR_ALLOC freed <1K, 3% free 47728K/48711K, paused 18ms
05-31 00:28:05.590: D/dalvikvm(19919): GC_FOR_ALLOC freed <1K, 3% free 47728K/48711K, paused 19ms
05-31 00:28:05.660: D/dalvikvm(19919): GC_FOR_ALLOC freed <1K, 3% free 47728K/48711K, paused 19ms
05-31 00:28:05.730: D/dalvikvm(19919): GC_FOR_ALLOC freed <1K, 3% free 47728K/48711K, paused 19ms
05-31 00:28:05.810: D/dalvikvm(19919): GC_FOR_ALLOC freed <1K, 3% free 47728K/48711K, paused 18ms
05-31 00:28:05.880: D/dalvikvm(19919): GC_FOR_ALLOC freed <1K, 3% free 47728K/48711K, paused 19ms
05-31 00:28:05.960: D/dalvikvm(19919): GC_FOR_ALLOC freed <1K, 3% free 47728K/48711K, paused 19ms
05-31 00:28:06.030: D/dalvikvm(19919): GC_FOR_ALLOC freed <1K, 3% free 47728K/48711K, paused 18ms
05-31 00:28:06.110: D/dalvikvm(19919): GC_FOR_ALLOC freed <1K, 3% free 47728K/48711K, paused 19ms
05-31 00:28:18.820: D/dalvikvm(19919): GC_FOR_ALLOC freed <1K, 3% free 47728K/48711K, paused 28ms
05-31 00:28:18.900: D/dalvikvm(19919): GC_FOR_ALLOC freed <1K, 3% free 47728K/48711K, paused 19ms
05-31 00:28:18.970: D/dalvikvm(19919): GC_FOR_ALLOC freed <1K, 3% free 47728K/48711K, paused 20ms
05-31 00:28:19.040: D/dalvikvm(19919): GC_FOR_ALLOC freed <1K, 3% free 47728K/48711K, paused 20ms
05-31 00:28:19.120: D/dalvikvm(19919): GC_FOR_ALLOC freed 483K, 4% free 47247K/48711K, paused 19ms
05-31 00:28:19.170: D/dalvikvm(19919): GC_FOR_ALLOC freed <1K, 4% free 47247K/48711K, paused 19ms
05-31 00:28:19.250: D/dalvikvm(19919): GC_FOR_ALLOC freed <1K, 4% free 47247K/48711K, paused 20ms
05-31 00:28:19.310: D/dalvikvm(19919): GC_FOR_ALLOC freed <1K, 4% free 47247K/48711K, paused 18ms
05-31 00:28:19.380: D/dalvikvm(19919): GC_FOR_ALLOC freed <1K, 4% free 47247K/48711K, paused 20ms
05-31 00:28:19.440: D/dalvikvm(19919): GC_FOR_ALLOC freed <1K, 4% free 47247K/48711K, paused 18ms
05-31 00:28:19.520: D/dalvikvm(19919): GC_FOR_ALLOC freed <1K, 4% free 47247K/48711K, paused 19ms
05-31 00:28:19.580: D/dalvikvm(19919): GC_FOR_ALLOC freed <1K, 4% free 47247K/48711K, paused 18ms
05-31 00:28:19.660: D/dalvikvm(19919): GC_FOR_ALLOC freed <1K, 4% free 47247K/48711K, paused 19ms
05-31 00:28:19.720: D/dalvikvm(19919): GC_FOR_ALLOC freed <1K, 4% free 47247K/48711K, paused 19ms
05-31 00:28:19.790: D/dalvikvm(19919): GC_FOR_ALLOC freed <1K, 4% free 47247K/48711K, paused 17ms
05-31 00:28:19.850: D/dalvikvm(19919): GC_FOR_ALLOC freed <1K, 4% free 47247K/48711K, paused 19ms
05-31 00:28:19.930: D/dalvikvm(19919): GC_FOR_ALLOC freed <1K, 4% free 47247K/48711K, paused 18ms
05-31 00:28:19.990: D/dalvikvm(19919): GC_FOR_ALLOC freed <1K, 4% free 47247K/48711K, paused 18ms
05-31 00:28:20.060: D/dalvikvm(19919): GC_FOR_ALLOC freed <1K, 4% free 47247K/48711K, paused 18ms
05-31 00:28:20.130: D/dalvikvm(19919): GC_FOR_ALLOC freed <1K, 4% free 47247K/48711K, paused 17ms
05-31 00:28:20.200: D/dalvikvm(19919): GC_FOR_ALLOC freed <1K, 4% free 47247K/48711K, paused 18ms
05-31 00:28:20.270: D/dalvikvm(19919): GC_FOR_ALLOC freed <1K, 4% free 47247K/48711K, paused 18ms
05-31 00:28:20.330: D/dalvikvm(19919): GC_FOR_ALLOC freed <1K, 4% free 47247K/48711K, paused 18ms
05-31 00:28:20.410: D/dalvikvm(19919): GC_FOR_ALLOC freed <1K, 4% free 47247K/48711K, paused 18ms
05-31 00:28:23.110: D/dalvikvm(19919): GC_FOR_ALLOC freed 1K, 4% free 47247K/48711K, paused 29ms
05-31 00:28:23.210: D/dalvikvm(19919): GC_FOR_ALLOC freed <1K, 4% free 47247K/48711K, paused 19ms
05-31 00:28:23.290: D/dalvikvm(19919): GC_FOR_ALLOC freed <1K, 4% free 47247K/48711K, paused 18ms
05-31 00:28:23.360: D/dalvikvm(19919): GC_FOR_ALLOC freed <1K, 4% free 47247K/48711K, paused 18ms
05-31 00:28:23.430: D/dalvikvm(19919): GC_FOR_ALLOC freed <1K, 4% free 47247K/48711K, paused 19ms
05-31 00:28:23.500: D/dalvikvm(19919): GC_FOR_ALLOC freed 1K, 4% free 47247K/48711K, paused 18ms
05-31 00:28:23.590: D/dalvikvm(19919): GC_FOR_ALLOC freed <1K, 4% free 47247K/48711K, paused 18ms
05-31 00:28:23.650: D/dalvikvm(19919): GC_FOR_ALLOC freed <1K, 4% free 47247K/48711K, paused 17ms
05-31 00:28:23.710: D/dalvikvm(19919): GC_FOR_ALLOC freed <1K, 4% free 47247K/48711K, paused 18ms
05-31 00:28:23.770: D/dalvikvm(19919): GC_FOR_ALLOC freed <1K, 4% free 47247K/48711K, paused 19ms
05-31 00:28:23.840: D/dalvikvm(19919): GC_FOR_ALLOC freed <1K, 4% free 47247K/48711K, paused 18ms
05-31 00:28:23.900: D/dalvikvm(19919): GC_FOR_ALLOC freed <1K, 4% free 47247K/48711K, paused 18ms
05-31 00:28:23.960: D/dalvikvm(19919): GC_FOR_ALLOC freed <1K, 4% free 47247K/48711K, paused 17ms
05-31 00:28:24.020: D/dalvikvm(19919): GC_FOR_ALLOC freed <1K, 4% free 47247K/48711K, paused 18ms
05-31 00:28:24.070: D/dalvikvm(19919): GC_FOR_ALLOC freed <1K, 4% free 47247K/48711K, paused 18ms
05-31 00:28:24.130: D/dalvikvm(19919): GC_FOR_ALLOC freed <1K, 4% free 47247K/48711K, paused 18ms
05-31 00:28:24.190: D/dalvikvm(19919): GC_FOR_ALLOC freed <1K, 4% free 47247K/48711K, paused 17ms
05-31 00:28:24.250: D/dalvikvm(19919): GC_FOR_ALLOC freed <1K, 4% free 47247K/48711K, paused 18ms
05-31 00:28:24.310: D/dalvikvm(19919): GC_FOR_ALLOC freed <1K, 4% free 47247K/48711K, paused 17ms
05-31 00:28:24.370: D/dalvikvm(19919): GC_FOR_ALLOC freed <1K, 4% free 47247K/48711K, paused 18ms
05-31 00:28:24.430: D/dalvikvm(19919): GC_FOR_ALLOC freed <1K, 4% free 47247K/48711K, paused 18ms
05-31 00:28:24.490: D/dalvikvm(19919): GC_FOR_ALLOC freed <1K, 4% free 47247K/48711K, paused 19ms
05-31 00:28:24.550: D/dalvikvm(19919): GC_FOR_ALLOC freed <1K, 4% free 47247K/48711K, paused 19ms
05-31 00:28:24.610: D/dalvikvm(19919): GC_FOR_ALLOC freed <1K, 4% free 47247K/48711K, paused 17ms
05-31 00:28:24.840: D/dalvikvm(19919): GC_FOR_ALLOC freed <1K, 4% free 47247K/48711K, paused 17ms
05-31 00:28:24.900: D/dalvikvm(19919): GC_FOR_ALLOC freed <1K, 4% free 47247K/48711K, paused 17ms
05-31 00:28:24.950: D/dalvikvm(19919): GC_FOR_ALLOC freed <1K, 4% free 47247K/48711K, paused 18ms
05-31 00:28:25.010: D/dalvikvm(19919): GC_FOR_ALLOC freed <1K, 4% free 47247K/48711K, paused 17ms
05-31 00:28:25.070: D/dalvikvm(19919): GC_FOR_ALLOC freed <1K, 4% free 47247K/48711K, paused 18ms
05-31 00:28:25.530: D/dalvikvm(19919): GC_FOR_ALLOC freed 47K, 3% free 47327K/48711K, paused 19ms
05-31 00:28:27.550: D/dalvikvm(19943): GC_FOR_ALLOC freed 76K, 4% free 9225K/9539K, paused 19ms

purtroppo già allostartup della mia app ho pochissima memoria.
Semplicemente faccio richieste di file xml o carico dal database e analogamente per le imagini o le richiedo in remoto e le salvo o le prendo in locale.
Cosa potrebbe essere?

Offline bradipao

  • Moderatore globale
  • Utente storico
  • *****
  • Post: 4043
  • keep it simple
  • Respect: +567
    • Github
    • Google+
    • bradipao
    • Mostra profilo
  • Dispositivo Android:
    Nexus 5
  • Play Store ID:
    Bradipao
  • Sistema operativo:
    W7
Re:out of memory
« Risposta #1 il: 31 Maggio 2013, 08:04:35 CEST »
0
Cosa potrebbe essere?

Senza codice ci vorrebbe la palla di vetro per rispondere. La ragione più semplice è che tu abbia creato un emulatore con pochissima RAM.
NON rispondo a domande nei messaggi privati
Bradipao @ Play Store

Offline zorcraft

  • Utente junior
  • **
  • Post: 108
  • Respect: +5
    • Mostra profilo
  • Dispositivo Android:
    note
  • Play Store ID:
    zorcraft
Re:out of memory
« Risposta #2 il: 31 Maggio 2013, 09:23:38 CEST »
0
come gia detto senza codice e un po dura , ma cosi ad occhi chiusi direi che le immagini che carichi sono troppo pesanti, prova ad alleggerirle sicuro migliora

Offline prezzemolo86

  • Nuovo arrivato
  • *
  • Post: 36
  • Respect: +1
    • Mostra profilo
Re:out of memory
« Risposta #3 il: 31 Maggio 2013, 11:42:53 CEST »
0
 :-P perdonatemi! ahahha in effetti avete ragione, la stanchezza e la confusione mi hanno fatto buttare lì quel log, come se potesse essere frutto di una sola cosa.

Ora vi posto un po' di codice  e mi affido alla vostra disponibilità e alla vostra esperienza che sicuramente è maggiore della mia :-)

in ordine:

ottengo questo log
Codice: [Seleziona]

06-01 11:29:02.420: D/dalvikvm(9446): GC_FOR_ALLOC freed 65K, 4% free 9225K/9539K, paused 16ms
06-01 11:29:02.430: I/dalvikvm-heap(9446): Grow heap (frag case) to 11.497MB for 2457616-byte allocation
06-01 11:29:02.450: D/dalvikvm(9446): GC_CONCURRENT freed 1K, 3% free 11624K/11975K, paused 2ms+1ms
06-01 11:29:02.550: D/HomeActivity(9446): category lastupdate: 1369954425274
06-01 11:29:02.560: D/HomeActivity(9446): gap: 1369956225274
06-01 11:29:12.700: W/TextView(9446): Selection Mode is null
06-01 11:29:12.700: W/TextView(9446): Selection Mode is null


già allo starup della mia app.

il codice del launcer è questo:

Codice (Java): [Seleziona]
public class HomeActivity extends Activity {
       
        private static String LogTag = "HomeActivity";

        public static final int FINISH_LOAD = 0 ;
        public static final int START_LOAD = 1 ;
        public static final int ABORT_LOAD = 2 ;

        private HomeActivity _this;
        private LinearLayout layout;
        private Handler mHandler;

        private LayoutParams layoutParams = new LayoutParams(
                        LayoutParams.FILL_PARENT, LayoutParams.FILL_PARENT);
        private LayoutParams textParams = new LayoutParams(
                        LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT);

        private boolean isUpdated = false;

       
        @Override
        protected void onCreate(Bundle savedInstanceState)
        {
                super.onCreate(savedInstanceState);


                /**************THREAD*************************/
                _this = this;

                mHandler = new Handler() {
                        @Override
                        public void handleMessage(Message msg) {
                                switch (msg.what) {
                                case FINISH_LOAD:
                                        _this.setContentView(R.layout.activity_main);
                                        Typeface font = Typeface.createFromAsset(getAssets(), "font/Ford-LightExt.otf");
                                        TextView slogan = (TextView) _this.findViewById(R.id.slogan);
                                        slogan.setTypeface(font);

                                        //i componenti vengono settati a runtime => il layout va indicato prima, se no nn ho dove aggiungerli
                                        GridView gridview = (GridView) _this.findViewById(R.id.gridview);
                                        gridview.setAdapter(new HomeButtonAdapter(_this));
                                        SplashScreen.sendMessage(SplashScreen.CLOSE_SPLASH);
                                        break;
                                case START_LOAD:
                                        initializing();
                                        break;
                                case ABORT_LOAD:
                                        finish();
                                }

                        }
                };
                startSplash();


        }

        private void startSplash() {
                Intent intent = new Intent(this, SplashScreen.class);
                SplashScreen.setMainHandler(mHandler);
                startActivity(intent);
        }

        private void initializing() {
               
                new Thread() {
                        @Override
                        public void run() {




                                /******************************CARICO STRUTTURE DATI******************************/
                                /********************************************/
                                //deleteDatabase("mybdb");//TODO DA TOGLIERE SERVE SOLO PER DEBUG
                                MyDatabase db = new MyDatabase(_this);
                                db.open();  //apriamo il db
                               
                                CategorieDataMagager cDM = new CategorieDataMagager(db);
                               
                                Cursor c = cDM.getLastCategoria();
                                try
                                {
                                        if(c.getCount()>0)      //verificare se la tabella categorie è piena
                                        {

                                                if(c.moveToNext())
                                                {
                                                        long lastupdate = c.getLong(0);
                                                        Log.d(LogTag, "category lastupdate: "+lastupdate);
                                                       
                                                        long currenttime = Calendar.getInstance().getTimeInMillis();
                                                       
                                                        long gap = lastupdate+30*60*1000; //ultimo aggiornamento + 30 minuti in millisecondi
                                                        Log.d(LogTag, "gap: "+gap);
                                                        if(gap>currenttime)
                                                                isUpdated = true;
                                                        else
                                                                isUpdated = false;

                                                        try
                                                        {
                                                                Thread.sleep(10000);
                                                        }
                                                        catch (Exception e) {
                                                                // TODO: handle exception
                                                                Log.d(LogTag, e.getMessage());
                                                        }
                                                        GestoreCatalogo.getIstance().setUpdate(isUpdated);
                                                }
                                                Message msg = new Message();
                                                msg.what = SplashScreen.SET_PROGRESS;
                                                //msg.arg1 = i;
                                                SplashScreen.sendMessage(msg);

                                        }
                                       
                                       
                                }
                                finally
                                {
                                        c.close();
                                        db.close();
                                }
                                /****************************************************************************************/
                                mHandler.sendEmptyMessage(FINISH_LOAD);

                        }

                }.start();
               
               
        }


        @Override
        public boolean onCreateOptionsMenu(Menu menu) {
                // Inflate the menu; this adds items to the action bar if it is present.
                getMenuInflater().inflate(R.menu.activity_main, menu);
                return true;
        }

}


e lo splash è implementato qui

Codice (Java): [Seleziona]
public class SplashScreen extends Activity {

        private static Handler mHandler ;
        private static Handler mainHandler ;
        private ProgressBar mBar ;

        public static final int CLOSE_SPLASH = 0 ;
        public static final int SET_PROGRESS = 1 ;

        /** Called when the activity is first created. */
        @Override
        public void onCreate(Bundle savedInstanceState) {
                super.onCreate(savedInstanceState);
                setContentView(R.layout.splash_screen);

                mBar = (ProgressBar)findViewById(R.id.splash_bar);

                mHandler = new Handler(){
                        @Override
                        public void handleMessage(Message msg){
                                switch(msg.what){
                                case CLOSE_SPLASH:
                                        finish();
                                        break;
                                       
                                }

                        }
                };
        }

        @Override
        public void onStart(){
                super.onStart();
                if(mainHandler != null){
                        mainHandler.sendEmptyMessage(HomeActivity.START_LOAD);
                }
        }

        @Override
        public boolean onKeyDown (int keyCode, KeyEvent event){
                if(keyCode == KeyEvent.KEYCODE_BACK){
                        mainHandler.sendEmptyMessage(HomeActivity.ABORT_LOAD);
                }
                return super.onKeyDown(keyCode, event) ;
        }
        public static void setMainHandler(Handler h){
                mainHandler = h ;
        }
        public static void sendMessage(Message msg){
                mHandler.sendMessage(msg);
        }
        public static void sendMessage(int w){
                mHandler.sendEmptyMessage(w);
        }
}

xml

Codice (XML): [Seleziona]
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
   android:layout_width="fill_parent"
   android:layout_height="fill_parent"
   android:background="@color/white" >

    <View
       android:id="@+id/spazio"
       android:layout_width="fill_parent"
       android:layout_height="30dip"
       android:layout_alignParentTop="true" />

    <TextView
       android:id="@+id/slogan"
       android:layout_width="fill_parent"
       android:layout_height="30dip"
       android:layout_below="@+id/spazio"
       android:text="@string/slogan"
       android:textColor="@color/gray" />

    <GridView
     
       android:id="@+id/gridview"
       android:layout_width="fill_parent"
       android:layout_height="fill_parent"
       android:layout_centerVertical="true"
       android:layout_below="@+id/slogan"
       android:horizontalSpacing="5dip"
       android:numColumns="3"
       android:verticalSpacing="5dp" />

   


</RelativeLayout>


splash
Codice (XML): [Seleziona]
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical"
android:gravity="center">
  <ImageView
       android:layout_width="wrap_content"
       android:layout_height="wrap_content"
       android:src="@drawable/default2x"/>
 
 
       
</LinearLayout>


questo è il punto di partenza, ora mi chiedo come mai parto già dal 4% e altra domanda è sul warnig:

Codice: [Seleziona]
06-01 11:29:12.700: W/TextView(9446): Selection Mode is null
06-01 11:29:12.700: W/TextView(9446): Selection Mode is null

ma a quale TextView si riferisce?

Offline NanoAndroide

  • Utente junior
  • **
  • Post: 63
  • Respect: +3
    • Google+
    • Mostra profilo
    • MeToo
  • Dispositivo Android:
    GT-S5570
  • Play Store ID:
    MeToo
  • Sistema operativo:
    Windows 7
Re:out of memory
« Risposta #4 il: 31 Maggio 2013, 12:27:13 CEST »
0

Codice (XML): [Seleziona]
...

    <TextView
       android:id="@+id/slogan"
       android:layout_width="fill_parent"
       android:layout_height="30dip"
       android:layout_below="@+id/spazio"
       android:text="@string/slogan"
       android:textColor="@color/gray" />

...


Codice: [Seleziona]
06-01 11:29:12.700: W/TextView(9446): Selection Mode is null
06-01 11:29:12.700: W/TextView(9446): Selection Mode is null

ma a quale TextView si riferisce?

Io ne vedo solo una!  :-o

Offline prezzemolo86

  • Nuovo arrivato
  • *
  • Post: 36
  • Respect: +1
    • Mostra profilo
Re:out of memory
« Risposta #5 il: 31 Maggio 2013, 19:35:47 CEST »
0
Dimenticavo io uso il telefono non  l'emulatore. Quindi la ram è reale