[Glass] gc related to cache size

Leo De Marco (Smalltalking) leo at smalltalking.net
Sun Jan 26 11:21:33 PST 2014


Dale,

 

Sorry, the script for clean up cache is:

 

ObjectLogEntry emptyLog.

MCRepositoryGroup default repositoriesDo: [:rep | rep flushCache ].

MCDefinition clearInstances.

MCMethodDefinition cachedDefinitions  removeKeys:

    (MCMethodDefinition cachedDefinitions keys).

MCMethodDefinition shutDown.

MethodVersionHistory uniqueInstance cleanUp.

%

commit

begin

printit

SystemRepository markForCollection

%

 

Leo

De: Dale Henrichs [mailto:dale.henrichs at gemtalksystems.com] 
Enviado el: viernes, 24 de enero de 2014 15:42
Para: leo at smalltalking.net
CC: GemStone Seaside beta discussion
Asunto: Re: [Glass] gc related to cache size

 

Leo,

 

I'm not familiar with the "cache is too big" condition .... what error
message do you get?

 

On Fri, Jan 24, 2014 at 10:35 AM, <leo at smalltalking.net> wrote:

Hi all!

 

I have a script for garbage collect that runs every day at night in my
maintenance plan. But sometimes the cache is too big before that script run,
so I have to manually execute the script.

 

There is a way to automatically perform the script when cache size reach
some predefine number?

 

thnks in advance!

Leo


_______________________________________________
Glass mailing list
Glass at lists.gemtalksystems.com
http://lists.gemtalksystems.com/mailman/listinfo/glass

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gemtalksystems.com/mailman/private/glass/attachments/20140126/a7a160ba/attachment.html>


More information about the Glass mailing list