You can remember the meaning of 一生 with this easy mnemonic:
I've had only one (一) rotten tooth throughout all my life (生).
Using mnemonics to remember the meaning of Chinese characters like can have an enormous impact on how long to learn Mandarin it takes.