O$: Instance memory footprint

Olafur Gardarsson oli at ikon.is
Mon Dec 13 04:31:24 EST 2010

Thinking about it, it does seem unlikely that the task variables are copied
for each object instantiated. It would be quite unmanageable as you put it.
It would also defeat the purpose of the task instance wouldn't it?


2010/12/13 Jean Marc Azerad <azerad.jm at wanadoo.fr>

> I Oli,
> I cannot be positive, but I'll be surprised if it did copies of Task
> variables, it has to refer to the original task variable.
> The content would be unmanageable !
> But I could understand if Task variable had a memory footprint only wen
> used;
> Couldn't this be the case ?
> JM
> Le 13 déc. 2010 à 00:10, Olafur Gardarsson a écrit :
> > When say a window is instantiated, does it pull into memory a copy of all
> > the task variables or does it refer to the task variables where they are
> > already in memory by way of the task instance? I'm asking because in a
> > project I'm working on I noticed that objects had been set up to
> instantiate
> > as task variables. This makes life easier when using methods in these
> > objects but I'm wondering if every instance of every object is carrying
> > around the extra weight of objects they never use.
> >
> > Oli
> > _____________________________________________________________
> > Manage your list subscriptions at http://lists.omnis-dev.com
> _____________________________________________________________
> Manage your list subscriptions at http://lists.omnis-dev.com

More information about the omnisdev-en mailing list