catch OutOfMemoryError