From: SourceForge.net <no...@so...> - 2005-12-22 09:56:41
|
Bugs item #1386191, was opened at 2005-12-20 15:10 Message generated for change (Comment added) made by mihajlov You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=712784&aid=1386191&group_id=128809 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: sfcb Group: Performance >Status: Open >Resolution: Accepted Priority: 3 Submitted By: Viktor Mihajlovski (mihajlov) Assigned to: Adrian Schuur (a3schuur) Summary: sfcb memory footprint for large schemas too high Initial Comment: In case of large classSchema files, the memory consumption of the class provider is too high, as the entire class schema is loaded into memory. ---------------------------------------------------------------------- >Comment By: Viktor Mihajlovski (mihajlov) Date: 2005-12-22 10:56 Message: Logged In: YES user_id=1198711 The caching class provider seems to have a memory leak. Needs to be verified. ---------------------------------------------------------------------- Comment By: Viktor Mihajlovski (mihajlov) Date: 2005-12-20 15:16 Message: Logged In: YES user_id=1198711 Fix by a3schuur: Added caching ClassProviderGz.c, optionally accepting compressed classSchemas files. This provider does not keep complete classSchemas file in memory but uses a cache instead. Cache limit is currently set to a maximum of 16 classes. When reaching this limit the least recently used class is removed from the cache. All class retrieval goes through the cache except for enumerateClasses operations, which causes enumerateClasses operation to take longer as usual but prevents useless flushing of cache contents. classProviderGz does not support createClass, modifyClass and deleteClass operations. classProviderGz can handle compressed (zipped) classSchemas files as wel as non-zipped files. Zipping should be done using the gzip program. The class provider looks for either classSchemas or classSchemas.gz files. Regisstation is as follows: [$ClassProvider$] provider: ClassProvider location: sfcClassProviderGz type: class method unload: never ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=712784&aid=1386191&group_id=128809 |