On 15 Jan 2011, at 19:51, [email protected] wrote: > Author: adelmelle > Date: Sat Jan 15 18:51:36 2011 > New Revision: 1059389 > > URL: http://svn.apache.org/viewvc?rev=1059389&view=rev > Log: > Enable id on fo:root pt 3 - Signal processed id at end of document
Note: While doing this, I did stumble upon a leak/waste. IDTracker keeps a Map of idLocations. Currently, this is a Map<String, List<PageViewport>>, which, IIC, means that the IDTracker now keeps a hard reference to all PageViewports in the document (associated with the fo:root id), regardless of whether the page-sequence is finished or not. I am going to check whether the PageViewports are really needed here. If we can get away with just keeping the page-numbers or page-keys in that Map, that would obviously be preferable... Regards, Andreas ---
