clearing the cache
Robert Brenstein
rjb at rz.uni-potsdam.de
Wed Aug 11 18:33:44 CDT 2004
>On 8/11/04 5:45 PM, "Chris Sheffield" <cm_sheffield at yahoo.com> wrote:
>
>> Does anyone know of a way to flush/clear/destroy the
>> cache without making a call to "Shutdown"? I'm using
>> VXCMD with Revolution.
>
>There is no such way, Chris.
>
>Only shutdown
>
>
>> I've got a situation where computer memory keeps
>> filling up and filling up until crashes occur. I'm
>> reading fairly large BLOB data from a database, and
>> the cached data appears to stay in memory, even after
>> writing the data to disk and closing the cursor on the
>> database. Is this normal behavior?
>
>Crash no.
>
>You mean that you see in some way, that RAM of computer is eaten?!
>
>Then this is NOT cache!
>Cache always have fixed size, as you have specify in ValentinaInit().
>
>Hmm, sounds like memory leak.
>But I don't know if it is in YOUR code or in Valentina.
>
>Frankly saying I doubt it is in Valentina.
>
I had once a situation where there was a memory leak as a result of
some weird interaction between MetaCard and Valentina. I had a field
in a window that was displaying a log of on-going activities. If
valentina was off, all was fine. If valentina was on, updating that
field was leaking memory. I ended up eliminating live updates of log
fields. Truly strange. The leak was definitely on the MetaCard's side
but under no other circumstances I managed to reproduce it otherwise
(and I really tried as I wanted Scott to fix it).
Robert
More information about the Valentina
mailing list