Memory management when using sqlite database in iphone

前端 未结 6 1199
我在风中等你
我在风中等你 2021-02-03 16:18

My application makes use of a SQLite database to store the user\'s inputs. The number of records in the input would go to around 100 records and I have a lot of SQL operations g

6条回答
  •  误落风尘
    2021-02-03 16:33

    I've seen memory usage spike before when I had a relatively large database because of poor indexing. If you add a few well thought out indexes to your database, it is a quick and easy way to get memory usage back in the real world.

提交回复
热议问题