Curlで、メモリ内キャッシュからパッケージもしくはマニフェストが解放されるタイミングを取得することはできないでしょうか。
もしくはメモリ内から解放されない様にする方法がございましたら、是非ご教授お願い致します


(08-17-2011, 05:28 PM)森口 慶紀 Wrote: 続けて投稿失礼します。I have to rely on Google translate to read your question so I am not sure I correctly understand your question, but it seems that you are asking about how long packages are kept in memory.
Curlで、メモリ内キャッシュからパッケージもしくはマニフェストが解放されるタイミングを取得することはできないでしょうか。
もしくはメモリ内から解放されない様にする方法がございましたら、是非ご教授お願い致します



(08-19-2011, 09:02 AM)cbarber Wrote: Packages that are loaded using the 'import' or 'import-package' are stored in a shared memory area so that they can be used by multiple applets. Such a package will not be unloaded from memory until there are no remaining applets that have imported it. Flushing of unused packages occurs after an applet finishes loading, thus reloading an applet will not flush a package from memory unless the applet has been changed to no longer import the package.
let mf:ComponentManifest = {with-file-caching-style FileCachingStyle.resynchronize do
{import-manifest
path asa Url,
check-out-of-date? = true
}
}
let agent-package:#Package
set agent-package = {import-package
manifest=mf,
{make-package-selector pkg-name}
}