Build a 100.000.000 by 10 element SparseArray.
Fill position 1/1 and 100.000.000/10 with a value 999.999.999.999.999.
num = 999999999999999;
idSparse = SparseArray[{{1, 1} -> num, {100000000, 10} -> num}];
Look for RAM usage.
ByteCount[idSparse]
976
Export it to a file
Export["idSparse.rsa", idSparse];
See the disk usage.
FileByteCount["idSparse.rsa"]
205000360
Is it OK like that?
Two elements only occupied.
For file usage is very high compared with RAM usage.