Since I installed the APC and am using it for a file upload with progr开发者_JS百科ess display, the memory use of my server exploded, it seems that every uploaded file keeps in the memory forever.
That's the problem with "persistent" caches.... they're persistent.
You can set a "timeout" for APC entries when you store the entry, or you can manually remove any entry when it is no longer required. APC will also be cleared if the server is restarted.
In this case, you should probably remove the entry in your upload handling code.
精彩评论