Here is a convenient way to flush the entire contents of your Memcached instance using telnet.
$ telnet localhost 11211
Connected to localhost.
Escape character is '^]'.
Connection to localhost closed by foreign host.
Once you are connected to the appropriate memcached host and port (using telnet), use the flush_all command (which should return an OK response) followed the quit command to flush the current cache contents.