Non-Volatile and Ultra-Compact Photonic Memory