dbTalk Databases Forums  

MDX via OpenQuery - memory error ?

microsoft.public.sqlserver.olap microsoft.public.sqlserver.olap


Discuss MDX via OpenQuery - memory error ? in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Koen
 
Posts: n/a

Default MDX via OpenQuery - memory error ? - 02-22-2006 , 02:11 AM






Hi,

When i run an mdx using openquery, it acts quite weird. Sometimes i get the
message "there is insufficient memory to run this query", sometimes i get the
first results, but followed with blank fields (not even NULL).

Anyone any idea ?

Thx

Reply With Quote
  #2  
Old   
Ramunas Balukonis
 
Posts: n/a

Default Re: MDX via OpenQuery - memory error ? - 02-22-2006 , 02:24 AM






try to use -g startup option for sql server service. I use -g1024.

"Koen" <Koen (AT) discussions (DOT) microsoft.com> wrote

Quote:
Hi,

When i run an mdx using openquery, it acts quite weird. Sometimes i get
the
message "there is insufficient memory to run this query", sometimes i get
the
first results, but followed with blank fields (not even NULL).

Anyone any idea ?

Thx



Reply With Quote
  #3  
Old   
Koen
 
Posts: n/a

Default Re: MDX via OpenQuery - memory error ? - 02-22-2006 , 02:40 AM



Are you sure about this ? My sql server has 4 GB ram, and its configurated to
use
3808 MB already ?

Grtz,

"Ramunas Balukonis" wrote:

Quote:
try to use -g startup option for sql server service. I use -g1024.

"Koen" <Koen (AT) discussions (DOT) microsoft.com> wrote in message
news:A59B6832-58D7-4081-B2C3-8B181D6E3088 (AT) microsoft (DOT) com...
Hi,

When i run an mdx using openquery, it acts quite weird. Sometimes i get
the
message "there is insufficient memory to run this query", sometimes i get
the
first results, but followed with blank fields (not even NULL).

Anyone any idea ?

Thx




Reply With Quote
  #4  
Old   
Koen
 
Posts: n/a

Default Re: MDX via OpenQuery - memory error ? - 02-22-2006 , 08:11 AM



a little update:

when i check the log files, i see this message :

006-02-22 14:24:45.74 spid56 Query Memory Manager: Grants=1 Waiting=0
Maximum=154776 Available=154718
2006-02-22 14:24:48.99 spid66 WARNING: Failed to reserve contiguous
memory of Size= 65536.
2006-02-22 14:24:49.00 spid66 Buffer Distribution: Stolen=768 Free=74
Procedures=2528
Inram=0 Dirty=45960 Kept=0
I/O=0, Latched=80, Other=158998
2006-02-22 14:24:49.00 spid66 Buffer Counts: Commited=208408
Target=208408 Hashed=205038
InternalReservation=244 ExternalReservation=0 Min Free=128
2006-02-22 14:24:49.00 spid66 Procedure Cache: TotalProcs=826
TotalPages=2528 InUsePages=1334
2006-02-22 14:24:49.00 spid66 Dynamic Memory Manager: Stolen=3296 OS
Reserved=1688
OS Committed=1653
OS In Use=1651
Query Plan=2494 Optimizer=35
General=2054
Utilities=15 Connection=196
2006-02-22 14:24:49.00 spid66 Global Memory Objects: Resource=1767
Locks=74
SQLCache=97 Replication=2
LockBytes=2 ServerGlobal=45
Xact=23

"Koen" wrote:

Quote:
Are you sure about this ? My sql server has 4 GB ram, and its configurated to
use
3808 MB already ?

Grtz,

"Ramunas Balukonis" wrote:

try to use -g startup option for sql server service. I use -g1024.

"Koen" <Koen (AT) discussions (DOT) microsoft.com> wrote in message
news:A59B6832-58D7-4081-B2C3-8B181D6E3088 (AT) microsoft (DOT) com...
Hi,

When i run an mdx using openquery, it acts quite weird. Sometimes i get
the
message "there is insufficient memory to run this query", sometimes i get
the
first results, but followed with blank fields (not even NULL).

Anyone any idea ?

Thx




Reply With Quote
  #5  
Old   
Akshai Mirchandani [MS]
 
Posts: n/a

Default Re: MDX via OpenQuery - memory error ? - 02-22-2006 , 01:05 PM



Can you run that query in rowsetviewer returning a rowset? Perhaps the size
of the response is very large?

Thanks,
Akshai
--
This posting is provided "AS IS" with no warranties, and confers no rights
Please do not send email directly to this alias. This alias is for newsgroup
purposes only.

"Koen" <Koen (AT) discussions (DOT) microsoft.com> wrote

Quote:
a little update:

when i check the log files, i see this message :

006-02-22 14:24:45.74 spid56 Query Memory Manager: Grants=1 Waiting=0
Maximum=154776 Available=154718
2006-02-22 14:24:48.99 spid66 WARNING: Failed to reserve contiguous
memory of Size= 65536.
2006-02-22 14:24:49.00 spid66 Buffer Distribution: Stolen=768 Free=74
Procedures=2528
Inram=0 Dirty=45960 Kept=0
I/O=0, Latched=80, Other=158998
2006-02-22 14:24:49.00 spid66 Buffer Counts: Commited=208408
Target=208408 Hashed=205038
InternalReservation=244 ExternalReservation=0 Min Free=128
2006-02-22 14:24:49.00 spid66 Procedure Cache: TotalProcs=826
TotalPages=2528 InUsePages=1334
2006-02-22 14:24:49.00 spid66 Dynamic Memory Manager: Stolen=3296 OS
Reserved=1688
OS Committed=1653
OS In Use=1651
Query Plan=2494 Optimizer=35
General=2054
Utilities=15 Connection=196
2006-02-22 14:24:49.00 spid66 Global Memory Objects: Resource=1767
Locks=74
SQLCache=97 Replication=2
LockBytes=2 ServerGlobal=45
Xact=23

"Koen" wrote:

Are you sure about this ? My sql server has 4 GB ram, and its
configurated to
use
3808 MB already ?

Grtz,

"Ramunas Balukonis" wrote:

try to use -g startup option for sql server service. I use -g1024.

"Koen" <Koen (AT) discussions (DOT) microsoft.com> wrote in message
news:A59B6832-58D7-4081-B2C3-8B181D6E3088 (AT) microsoft (DOT) com...
Hi,

When i run an mdx using openquery, it acts quite weird. Sometimes i
get
the
message "there is insufficient memory to run this query", sometimes i
get
the
first results, but followed with blank fields (not even NULL).

Anyone any idea ?

Thx






Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.