This adds to the confusion as you just said the flash media uses the whole 64GB area for wear leveling. It can pick more, new, healthy, cells from before it fails.
At one time, on this forum, it was recommended to use a drive no smaller than X size. (4GB, 8GB, 16GB, etc..)
What was the purpose of this if the most one needs for these scripts is 2GB, tops. (If it gets used at all, router ram on the increase)
Some here advocate for larger and larger drives, 128GB, 256GB. (Is this just a case of wear leveling?) Even good drives go bad or become defective. Samsung has had bad batches.
I've only had one Flash drive write fail (SanDisk) and they replaced it. I own a lot of flash drives.
Virtual memory is the sum of RAM + swap space. Both have to be of a fixed size, otherwise it would appear to the operating system as if memory was suddenly appearing or disappearing. Swap space is therefore pre-allocated. You do this by allocating either an entire raw disk drive, an entire disk partition, or a fixed-size swap file for use as swap.
Can I somehow designate the whole 64GB and make it persistent as Virtual memory for the swap file (without detriment)?
Why are there more than only the 2GB size even available when you are prompted for setup for Diversion/Entware/Skynet?
One size 2GB fits all for these ASUS Routers, from the information presented.