This is normal behavior for all processes in Linux that use RAM. Unused RAM is used, and then kept in cache until another process needs it or the cache is cleared, "cache-clear" in Tinycore will do it. The warning given by sce-import or sce-update in regards to RAM is on the safe side and is not considering cached RAM or swap space, and can usually be ignored. Hard drive or other storage space is another situation and the warning should be heeded there.
I don't see sce-update occupying more RAM on my desktop system after already browsing the web and other RAM consuming activities, as cached RAM that is no longer needed is used instead of empty or free RAM. Below is before and after the cache-clear command:
EDIT: I don't see the checking part of sce-update use much RAM, of course if the -r option is used then .deb unpacking happens in RAM, the total of which is the size of the uncompressed contents of what will be in the resulting SCE.
Thanks for the briefing about the kernel's handling of RAM usage! I must confess that I did not have that kind oversight before. It makes sense now.
Still the warning about insufficient RAM is troubling, and if it can usually be disregarded then it should not really appear, should it? I see that considering swap space is not desirable but the way I understand your explanations, cached RAM should be considered. Is there a reasonably simple way to make ''sce-update'' take that into account? I think that would be helpful here.
I have another system in about the same state that I could use for testing purposes. My approach was watching ''free -h'' while launch ''sce-update -arns'' was running. Is there any more concise way of testing RAM usage?
I always use the Unix sync command to write out, don't know if this could be some tips on this.Thanks for the tip! Though, I do not think that disk cache is the real issue here but maybe I am wrong. Does anybody know better?