Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: ram memory: microsoft fix does not work


From   [email protected] (Alan Riley)
To   [email protected]
Subject   Re: st: ram memory: microsoft fix does not work
Date   Tue, 07 Nov 2006 09:25:53 -0600

Roberto Mura ([email protected]) is running out of memory on
a 32-bit Windows computer when trying to use -xtabond2-:
> the issue that I am experiencing is that, despite the 3,070 Mega of
> Ram memory installed in my PC, the op.sys refuses to give me more
> than 1.1Giga (set memory 1195m is the max it allows me).
> This is a huge issue as I cannot run the xtabond2 estimations I need
> to, since the system runs out of memory:
>    xtabond2_mata():  3900  unable to allocate real <tmp>[35360,1049]
>                    <istmt>:     -  function returned error

Roberto has already applied the Microsoft hotfix detailed here

   http://www.stata.com/support/faqs/win/winmemory.html

Several others have given some excellent advice in response to Roberto's
message.  I have only one thing to add, which might at first seem
counterintuitive.

Roberto is running out of memory in Mata, and has -set memory- to
the largest value that will work on his system.  -set memory- allocates
memory to Stata's data area.  If memory is in short supply on a system,
this, in effect, takes memory _away_ from other parts of Stata that may
need it, including Mata!

I don't know whether it will be possible for Roberto to run his analysis
on his machine under its current operating system.  However, to give
himself the best chance at being able to do so, he should _decrease_
his -set memory- allocation to as small as possible without receiving
non-Mata out-of-memory errors.  This will leave behind more memory for
Mata and give -xtabond2- a better chance to be able to allocate the
Mata matrices it needs.


Alan
([email protected])
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index