I am building an andorid application that has 8 buttons and I have use very small sized png images for the backgrounds. The size of all images is only 355 kb but when I run the application it gives me error saying 
java.lang.OutOfMemoryError: Failed to allocate a 256000012 byte allocation with 16777216 free bytes and 119MB until OOM
Why does it takes so much memory? Is there any better way to use less memory? This is how I made the button in my xml. Thank You
           <Button
            android:id="@+id/groupmeButton"
            android:layout_width="70dp"
            android:layout_height="70dp"
            android:layout_alignParentLeft="true"
            android:layout_gravity="center"
            android:layout_marginLeft="50dp"
            android:background="@drawable/image1"
            android:onClick="onClick"
            />
 
     
     
    