[R-sig-ME] gamm4 models memory intensive

Gitu wa Mbui gitumbui at gmail.com
Wed Dec 2 08:54:58 CET 2015


I am using gamm4 models in a model selection framework, where I have lined
up a few thousands of gamm4 models for running within this framework.
However, each gamm4 model object seems to enclose an environment of ~95MB,
even though the object size for each gamm4 model is ~1.5 MB.
i.e
> object_size(gamm4Model)

92.1 MB


This makes it impractical to run more than a few models. Is there a way
around this large memory demand by gamm4?

gamm on the other hand doesn't seem to enclose such a large environment.
 However, given that gamm uses PQL etc, it is of little importance in model
selection framework.

>object_size(gammModel)1.08 MB


Any ideas on a way around this?

~Gitu

	[[alternative HTML version deleted]]



More information about the R-sig-mixed-models mailing list