how do you get your computer not to run out of memory with the system syncing
You can configure Bitcoin Core to run with --dbcache=50 which will limit the database cache size to 50MB (default is 100MB).  You can read more about it here.

Alternatively, you probably don't need to be running a full node, and should instead consider using an SPV wallet, which will consume a lot less of your system resources.