Hi Dave, many thanks for the investigation and sharing your thoughts with us.
On Tuesday February 1 2011 18:39:09 Dave Baggett wrote: > It is definitely IE-only. I have not tried with IE9 yet, but I have learned > a lot more since yesterday and will continue doing some (very tedious) > experiments today. I hope that IE9 (which is in turn a completely different JS engine) is not affected. > A first insight: if debug is on, the qx.Class.__needsConstructorWrapper > always returns true. This causes a wrapper to be created for the > constructor, which in turn creates a closure for every single object > created. Under IE, the closure (or some side effect of its creation) > consumes multiple KB. You can verify this by creating 100 thousand > qx.core.Object() instances in IE and watching the memory usage rise to 1GB. > :) I don't know right know if we can skip this closure. It seems to be that it is necessary at least for the source version. Nevertheless it is good to know that the build version is *not* affected by this issue. > So clearly we need to look carefully at closure creation in qx.Class > because it's a root cause here. (There may be other causes as well; I am > still investigating why more complex classes cause this behavior and don't > know the answer yet; my specific problem case is smart.model.Default.) Again thanks for your work. Please share your results with us so can take a look at it and decide what to do with this issue. Regards, Alex ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
