If you meet someone for the first time and you have hard time by remembering names just say it multiple times. For example, in the first conversation say things like “Hello {name}”, “Nice to meet you {name}” or “Where are you from {name}”. Say it at least 3 times in the first minutes of the conversation and you won’t forget it.