How long does local storage stay

Hi,

I am busy building a app with 800 product records.

I managed to get replace client side records to work but the questions I have is how long does the data stay in the client database?

I have 300mb of info that i want to save on the client size database to prevent the device from getting the info daily. saving calls from the server.