Print at Dec 21, 2025, 1:22:33 PM

Posted by Puybaret at May 29, 2012, 7:24:52 PM
Re: How to free resources?
The cache of icons seen from top is managed by furnitureTopViewIconsCache field in PlanComponent class. This cache is an instance of java.util.WeakHashMap and its entries will be released when furniture of the plan will be out of reach. Check your plug-in correctly frees the references to HomePieceOfFurniture instances otherwise this cache can't be emptied.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator