Memory Management
Posted: Wed Jun 17, 2009 11:17 am
Query: Memory Management
Hi All,
Still working in the development environment and been puzzled with what is happening. The little application reads data from a sqlite file and dumps it into a field, I do however clear any variable that was used to hold the data at the execution of SQL, and what I am seing, watching the activity monitor, memory usage by the application simply keeps creeping up.
116MB (starting memory usage of RR 2.9 plus the little utility) , 207 MB, 255 MB, 311MB and so on, this eventually freezes the application (RR) and I have to drop it at the task manager level.
For a standalone application, trend is as follows (in brackets, once I have done SQL read)
5MB (253MB), 93MB (295MB), 198MB (333MB), 242MB (367MB)
My assumption is that if I put data in a variable/fld, this will use memory accordingly, and emptying these, would free same allocation up, what is happening is but the expectation. Any thought on this will be appreciated.
Thanks
Hi All,
Still working in the development environment and been puzzled with what is happening. The little application reads data from a sqlite file and dumps it into a field, I do however clear any variable that was used to hold the data at the execution of SQL, and what I am seing, watching the activity monitor, memory usage by the application simply keeps creeping up.
116MB (starting memory usage of RR 2.9 plus the little utility) , 207 MB, 255 MB, 311MB and so on, this eventually freezes the application (RR) and I have to drop it at the task manager level.
For a standalone application, trend is as follows (in brackets, once I have done SQL read)
5MB (253MB), 93MB (295MB), 198MB (333MB), 242MB (367MB)
My assumption is that if I put data in a variable/fld, this will use memory accordingly, and emptying these, would free same allocation up, what is happening is but the expectation. Any thought on this will be appreciated.
Code: Select all
--cleanup
put empty into fld "Field2"
put empty into fld "Field3"
put empty into tList
put empty into tSQL