Check the datasheet of your ram chip for the "standby current" Then apply the math to the capacity of the battery. Its a little more complex than that... but give you rough idea....
Is there a formula to convert a super cap charge to compare to a battery capacity?