Re: Analysis Services running out of memory periodically

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



An excellent summary and you touched all of the right things to look at!
--
Dave Wickert [MSFT]
dwickert@xxxxxxxxxxxxxxxxxxxx
Program Manager
BI SystemsTeam
SQL BI Product Unit (Analysis Services)
--
This posting is provided "AS IS" with no warranties, and confers no rights.


"djl" <UseLinkToEmail@xxxxxxxxxxxx> wrote in message
news:4_842319_f5671f89c66df7966b1d7387bfb06cc5@xxxxxxxxxxxxxxx
> "" wrote:
> > We are running SQL Server 2000 (with SP3) on Windows 2000
> > Advanced
> > Server. The machine is a Dell Optiplex with Intel Xeon at
> > 1.6GHz. The
> > server has 4GB memory.
> >
> > We have 2 main OLAP databases that we refresh at the end of
> > the ETL
> > run. It is an automated process that gets fired through an
> > external
> > scheduler.
> >
> > About a year back, we used to see 'out of memory' errors about
> > once in
> > a week. Of late though, these errors have become much more
> > frequent and
> > it has come to a point where the databases cannot be refreshed
> > twice in
> > a row.
> >
> > Could there be a memory leak in AS 2000? Is there a way to
> > troubleshoot
> > that?
> >
> > Just fyi I have read some of the related posts, and I should
> > mention
> > that in both the databases, there is at least one dimension
> > which is
> > about 100K rows. The fact table itself in each of the
> > databases is
> > about 1 million+ rows.
> >
> > Any help in troubleshooting this problem will be greatly
> > appreciated.
>
> We had similar problems recently and they've now been resolved.
>
> Firstly, AS loads all dimensions from all AS databases into memory
> when the services starts. In our case, we had 10+ databases and there
> were a lot of redundant dimensions, where we'd "archived" and
> "restored" the databases to provide the users with snapshots at a
> given point in time. We've now removed all redundant dimensions.
> Also, we've managed to be able to save these archive databases, so
> that they can be restored later.
>
> Secondly, AS can only access 2Gb of this memory by default. To enable
> AS to use more (only up to 3Gb), you can add a /3Gb switch to the
> boot.ini file (see microsoft tech for full details). This enables AS
> to use more than 2 Gb, but you should also amend the high memory limit
> value (either within AS or the registry - again check microsoft for
> details). The high memory limit is recommended to be no higher than
> 2.7 Gb as some memory is needed for a "cleaner thread".
>
> We've got the /3Gb switch set and the high memory limit set at
> approximately 2.5Gb. You might need to be a bit careful if you change
> your values as you've only got 4 for the whole server and SQL will
> need a fair amount (we have got 6 Gb of memory).
>
> Another point is that we were running with 4Gb for a while until we
> realised that we actually had 6 installed although windows told us we
> only had 4. This was resolved by adding another switch to the boot.ini
> file - /PAE. For some reason windows would only recognise 4 Gb
> without this switch.
>
> The AS process was running at 1.7Gb previously, now we're down to 0.6
> Gb and we've had no more memory problems.
>
> Hope this helps with your problem.
>
> --
> Posted using the http://www.dbforumz.com interface, at author's request
> Articles individually checked for conformance to usenet standards
> Topic URL:
> http://www.dbforumz.com/OLAP-Analysis-Services-running-memory-periodically-ftopict241100.html
> Visit Topic URL to contact author (reg. req'd). Report abuse:
> http://www.dbforumz.com/eform.php?p=842319


.



Relevant Pages

  • Re: BizTalk eating up SQL Server (Virii Behaviour)
    ... Yes, one gig is the least to run sql & bts in the same box, ... uninstall procedure, i manually deleted all databases, and run the ... and it was leaving like 20 mbs free memory, ... BizTalk Solution Developer ...
    (microsoft.public.biztalk.general)
  • Re: BizTalk eating up SQL Server (Virii Behaviour)
    ... uninstall procedure, i manually deleted all databases, and run the ... and it was leaving like 20 mbs free memory, ... BizTalk Solution Developer ... sql server 2005 and vs.net 2005. ...
    (microsoft.public.biztalk.general)
  • Re: Memory Recommendations for 8-way Server
    ... up to 16 GB of memory. ... Have you monitored the Buffer Cache Hit Ration? ... Most good judgment comes from experience. ... How many databases, how large are the databases, how many users on each ...
    (microsoft.public.sqlserver.setup)
  • Re: vm stat analysis - slow running batch job
    ... data gets processed at the w/end a weekly ... Note there are two additional databases on the server and the total SGA ... for all 3 is well within the total memory available on the server. ... 1000 client filesystem I/Os blocked with no fsbuf ...
    (comp.unix.aix)
  • Re: OT: Steve Wozniak
    ... People who know me also know that I am a supporter and contributor of ... contain up to 800 streaming processors and 2 GB of their own memory. ... Then this year I learned about the fusion-io SSD which is also PCIe ... Our databases are based upon RMS-ISAM rather ...
    (comp.os.vms)