tryingToLearn
tryingToLearn

Reputation: 11659

How to calculate RAM/memory usage during sqlite queries?

How can I calculate RAM / memory used up during SQL transactions and queries?

I am doing a resource profiling of sqlite and need this information.

Upvotes: 1

Views: 1282

Answers (2)

CL.
CL.

Reputation: 180060

The sqlite3_status() and sqlite3_db_status() functions can return this information.

Upvotes: 3

Maziar Davoodi Mehr
Maziar Davoodi Mehr

Reputation: 21

In windows you can use perfmon and monitor CPU/Ram usage for specific process

in other way in VS2015 we have some new feature in diagnostic tools that can help us to monitor CPU/RAM usage in time or event by event for example if you press any button in your app you can see all details like, memory usage, cpu usage, heaps and etc...

Upvotes: 1

Related Questions