New Zealand's Marina Erakovic survived an early scare to book her place in the second round of the Memphis international.