Re: Prepared sql generates "Insufficient memory available.." erro
From: AnthonyThomas (AnthonyThomas_at_discussions.microsoft.com)
Date: 01/06/05
- Next message: AnthonyThomas: "RE: SQL Service manager"
- Previous message: Olu Adedeji: "Re: How does Microsoft SQL Server server enforces user or device C"
- In reply to: TonyL: "Re: Prepared sql generates "Insufficient memory available.." error"
- Next in thread: TonyL: "Re: Prepared sql generates "Insufficient memory available.." erro"
- Reply: TonyL: "Re: Prepared sql generates "Insufficient memory available.." erro"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 6 Jan 2005 13:57:04 -0800
Run DBCC MEMORYSTATUS and see how much space you have allocated for PROCCACHE.
Also, QA only returns a Firehouse, client-side cursor. Server-side, API
cursors introduce an excessive amount of overhead than even T-SQL cursors.
There should be no need for an application to create a Server-side, API
cursor. If you need functionality to run on the server, put it in a stored
procedure. If you need the API to scroll, put it in an API client-side
cursor.
Also, you said you had 3 GB of memory on the server. How has your SQL
Server configuration be set to use this memory? Also, are there any other
application components other than the SQL Server running on the host? They
may be keeping SQL Server from using any additional memory.
Sincerely,
Anthony Thomas
"TonyL" wrote:
> Hi Yogish,
> I have tried DBCC FREEPROCCACHE but to no avail.
> On looking at that KB article it doesn't seem like the same situation, as
> this is an API server cursor and the article discusses issues with Transact
> SQL cursors.
> Tony
>
> "Yogish" <yogishkamathg@icqmail.com> wrote in message
> news:D71D9B4D-1D43-4058-8A46-726531567601@microsoft.com...
> > Hi TonyL,
> >
> > Have you tried issuing DBCC FREEPROCCACHE command before running the
> > statement?
> >
> > Also, look at this KB article from MS
> > http://support.microsoft.com/kb/837957
> >
> > ---------
> > Thanks
> > Yogish
>
>
>
- Next message: AnthonyThomas: "RE: SQL Service manager"
- Previous message: Olu Adedeji: "Re: How does Microsoft SQL Server server enforces user or device C"
- In reply to: TonyL: "Re: Prepared sql generates "Insufficient memory available.." error"
- Next in thread: TonyL: "Re: Prepared sql generates "Insufficient memory available.." erro"
- Reply: TonyL: "Re: Prepared sql generates "Insufficient memory available.." erro"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|