DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17820>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17820 Memory leak in resource loader [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|1.4 |1.5 ------- Additional Comments From [EMAIL PROTECTED] 2003-10-27 01:55 ------- Tested this with sample code provided (slightly modified to avoid proprietary dependencies). The free memory jumps all over the place (vagaries of garbage collection), but over 50,000 iterations there's a clear downward trends (737 bytes/iteration according to my linear regression). Definitely a problem for high-volume sites. Not yet clear if this applies to other resource loaders,or just the DataResourceLoader. I'll attach the source code I used so that this can be tested again. I tested on Win XP/JDK 1.4.1/Velocity 1.5-dev (with cache improvement). For the record, it took an hour to run before it hit the 64MB memory limit. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
