Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to release Mem variabes from memory?
Message
From
16/01/2007 05:09:02
 
 
To
16/01/2007 04:32:56
Suhas Hegde
Dental Surgeon
Sirsi, India
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 6 SP5
Miscellaneous
Thread ID:
01185807
Message ID:
01185826
Views:
10
Sorry, I can't give you more help. The only suggestion I can give, is to use cursors instad of array wherever possible. I don't know if this is doable in this specific situation, though.

>>
Release yourarray && to release only one memvar
>>Release all like la* && to release all local arrays
>>
>
>Yes I have used release memvar, But AFAIK VFP puts it in deleted on the backburner NTI index which it uses internally and cleans up when Wait for input.
>
>Any way I created a fll to take care of the same from MSDN help docs
>
>>And UPDATE to VFP9!!!
>
>Sure. But will take time. there are a lot of things i need to upgrade.
>Only when i start selling my product.
>
>thanx
>suhashegde
>
>>
>>>hi,
>>>
>>>Sorry hit the enter button too early.
>>>
>>>I have a long running code.
>>>
>>>It has to process about 1056 items and does a select SQL into array number of records in array (600)
>>>
>>>Then the array is copied into 2 arrays and used with other variables.
>>>The Array is fed to a fll and the return values are updated to the table.
>>>
>>>While processing the code is fast intially say 50 sec/ 100 records But as an when the count reaches above 500 it slows drastically.
>>>
>>>I have put Flush for 100 records , But what i feel is that the variables are not released fast enough eventhough I have a Release Array command.
>>>
>>>How can I specifically release those arrays from Being put to Deleted in NTI (which i believe VFP uses internally) ??
>>>
>>>Thanx
>>>
>>>suhashegde
Previous
Reply
Map
View

Click here to load this message in the networking platform