It's not a cursor for sure. It looks like you create some new object for each processing w/o destroing a previous one. It would be easier to help if you post some relevent code here.
>HI there!!!
>
>i using a listview control for displaying items in my stock file and i am using a richtext control for the purpose of displaying output of my report and page frame control as container.
>
>Every thing works fine. But after some time windows say.."system is low on resources".
>
>I am using a cursor for the processing purspose. After processing the records i take the output of report file in ascii format and the file is displayed using richtext control.
>
>I checked it with resource monitor, each time i process a Stock Card system resources reduce by 4-5 %.
>
>Why this is happening. i am closing the cursors after report is processed.
>
>Please Help
>
>Sunny (In Trouble)
--sb--