s-news
[Top] [All Lists]

[S] Memory problems.

To: s-news@wubios.wustl.edu
Subject: [S] Memory problems.
From: "Gérald Jean" <Gerald.Jean@spgdag.ca>
Date: Fri, 28 Jan 2000 09:48:58 -0500
Sender: owner-s-news@wubios.wustl.edu
Hello S-users,

I am running Splus-2000 under NT4.0 on a Compaq AP500, dual processors, 1G of
RAM and 4.8G of swap file.  Unfortunately I still have memory problems?  I am
fitting glm's on very large tables.  The following script aborted with the
following error, all other applications were closed in an attempt to give as
much memory as possible to S+.  One of the thing that puzzles me is that the
same script ran the previous day with a slightly larger data set?

> dim(inc3.freq)        # data set in previous run.
[1] 336458     18
> dim(inc4.freq)        # data set in this run.
[1] 318704     18

> inc4.glm.freq <- glm(formula = inc3.et4.freq.formula, family = quasi(link =
log,
     var = mu), data = inc4.all, weights = unsous)

Error in .Fortran("glmfit",: Unable to obtain requested dynamic memory (this req
uest is for 264217676 bytes, 0 bytes already in use)


inc3.et4.freq.formula contains 12 factors for a total of 53 levels.  Yes I know
that family quasi with a log link and mu variance
 is a poisson model, I use quasi to estimate the dispersion subsequently.


Is there anything I could do to improve memory management?

Maybe running S+ differently?

Maybe setting some of the options differently?  e.g. the "memory" option which
is at the 2147483647 bytes default; even after
reading the help file it is not clear to me what this option does?  Any other
options could help?

Anything else could help?

Thank you in advance for any advice, I'll summarize to the list,

Gérald

Gérald Jean
Analyste-conseil (statistiques), Actuariat
télephone            : (418) 835-8839
télecopieur          : (418) 835-5865
courrier électronique: gerald.jean@spgdag.ca

"In God we trust all others must bring data"


-----------------------------------------------------------------------
This message was distributed by s-news@wubios.wustl.edu.  To unsubscribe
send e-mail to s-news-request@wubios.wustl.edu with the BODY of the
message:  unsubscribe s-news

<Prev in Thread] Current Thread [Next in Thread>