Community
Participate
Working Groups
The HashSet<String> outputBookmarks gets an entry for each table and div but the data is never used (as far as I can see). So if you have 1 million pages (an extreme, I know), you get 1 million bookmark entries added to the hashset. Ouch! As a work-around for now, I subclassed this emitter and forced this field to null, which safely does NOT add to the HashSet, and wow, oh, the memory savings! I'm generating millions of pages with negligible memory consumption!!!
The hash set for the bookmarks in HTMLReportEmitter is unnecessary now because a BookmarkManager is used when executing the report items to guarantee the user defined bookmarks are unique for the HTML output. Fixed in 2.6.2 and head branch.