This question already has an answer here:
I'm trying to increase the ram on my old computer with a 2 GB sd card. You can configure Windows to use an SD card like RAM and I'm wondering if Ubuntu has that same ability.
If I am correct you need to format it as a swap partition:
and that should do the job
You can check this by typing