Here is a snippet of the code: conn = nnect(app.config)Ĭur.execute('insert into users (uid, full_name, email, username, job_title) values (?,?,?,?,?)', ) I observe a weird behavior where the memory usage only grows and doesn't return to normal after the operation has complete.
I run my program on docker container, and inspect the memory usage with docker stats. I am checking the amount of memory that SQLite operations consume (mostly insert).