You can remember the meaning of 一阵子 with this easy mnemonic:
For a while, I had one (一) huge wave (阵) of desire for a child (子).
Using mnemonics to remember the meaning of Chinese characters like can have an enormous impact on how long to learn Mandarin it takes.