title: java.lang.OutOfMemoryError ImageView
body: <p>I have a error "java.lang.OutOfMemoryError" how fix it? (sorry for this bad log format, i don't write many code text)</p>
  
  <p>my activity_main.xml , error this</p>
  
  <pre><code> &lt;ImageView
          android:layout_width="350dp"
          android:layout_height="700dp"
          android:id="@+id/imageViewCosmonaut"
          android:layout_alignParentBottom="true"
          android:layout_centerHorizontal="true"
          android:layout_marginBottom="-50dp"
          android:src="@drawable/background_cosmonaut"/&gt;
  </code></pre>
  
  <p>LogCat</p>
  
  <pre><code>  05-05 16:04:10.313    2475-2475/com.vlad.genius.game E/AndroidRuntime﹕ FATAL EXCEPTION: main
          java.lang.RuntimeException: Unable to start activity ComponentInfo{com.vlad.genius.game/com.vlad.genius.game.MainActivity}: android.view.InflateException: Binary XML file line #16: Error inflating class android.widget.ImageView
                  ...
      Caused by: android.view.InflateException: Binary XML file line #16: Error inflating class android.widget.ImageView
                  ...
      Caused by: java.lang.reflect.InvocationTargetException
                  ...
  
  
      Caused by: java.lang.OutOfMemoryError
                      at android.graphics.BitmapFactory.nativeDecodeAsset(Native Method)
                     android.graphics.drawable.Drawable.createFromResourceStream(Drawable.java:800)
                      at android.content.res.Resources.loadDrawable(Resources.java:2105)
                      at android.content.res.TypedArray.getDrawable(TypedArray.java:601)
                    com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:56)
                      at android.view.LayoutInflater.onCreateView(LayoutInflater.java:669)
                      at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:694)
                    com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:267)
                      at android.app.Activity.setContentView(Activity.java:1895)
                      at com.vlad.genius.game.MainActivity.onCreate(MainActivity.java:23)
                  
                      at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:737)
                      at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
                      at dalvik.system.NativeStart.main(Native Method)
  </code></pre>