Question about Axiom

Dirk Eßer <[email protected]> Mon, 26 Dec 2005 18:17:01 +0100
Newsgroups gmane.comp.python.quotient.dev
Organization http://freemail.web.de/
Message-ID <[email protected]>
> On Mon, 26 Dec 2005 08:57:39 +0100 (CET), william at opensource4you.com wrote:
>>
>> glyph at divmod.com wrote:
>
>> Totally Agreed with you, but in case the total AXIOM storage is bigger
>> than the RAM, I'm worried about swapping.
>>
>> AM I correct ?
>> In which case such "memory full" can occurs ?
>> Should I defin a "scheduler" to manage the amount of data in the cache ?
>
> Nope.  As JP mentioned, unused data will fall out of cache automatically.  If you have more data in Axiom's cache than you have > RAM, that means that you need to load fewer objects per transaction :).

Hi everybody.

Related question... Playing a little with SubStores and reading the code, I found, that SubStores are forcibly kept in memory by virtue of a reference cycle. Is there a proper way to find out, when it is safe to close as substore (i.e., whether there no more objects loaded/used somewhere, which live in that substore), or do I have to rely on (say, a scheduled) run of the Python GC in order remove it from memory?


-- dirk

______________________________________________________________
Verschicken Sie romantische, coole und witzige Bilder per SMS!
Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193