Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP app with SQL Server works faster after reboot
Message
 
 
To
13/03/2024 16:09:16
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
01687680
Message ID:
01687709
Views:
28
>>>>The customer sent me an email indicating that the server (hosting SQL Server) has 8 GB. And the value in the Maximum memory is 2147483647 MB. Does it mean they have no limitation? Or, should the Maximum memory number should be changed to?
>>>
>>>?2147483647/1024**2
>>>gives 2048, so that limitation is set to two terabytes. It's still a limitation, although a bit above the physically possible.
>>
>>I wonder if this limitation (very high) actually sets Max Limit to No limit (practical) and therefore causes the problem where the SQL Server stops after some time.
>>Which brings me to a question (to which I do not know the answer); what would you set the Maximum memory value in order to set a limit and prevent the SQL Server from stopping?
>
>Just shut down the SQL server and check how much available memory the system has then - use task manager to see that. Then set the limit to about two thirds of that. It's quite possible that the SQL engine has all the memory it may need, but the rest of the machine is starved, so the filesystem, networking etc may suffer and thus become the bottleneck. So leave some air for the system.
>That would be where I'd start.

Thank you for your input and for your suggestions. So far I told the customer to reset the SQL Server; so that they can go ahead with the application (currently it was stuck and not usable). As far as memory, I told them that most likely it is the number of the Max memory set in the SQL Server that causes the problem. But I did not want to suggest to them what number to use (even though I believe you know what you are talking about). The customer is a big organization and they should have a DBA. I told them to check with the DBA and set the limit to whatever the number he/she suggests. I will see what they do and how it effect the operation.
Again, thank you.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform