Add basic progress messages on fullrender (end of each map, every 100
renders), and add dispose on Graphics2D to accelerate non-heap memory recovery
This commit is contained in:
parent
c2d596e433
commit
28e98a617d
2 changed files with 13 additions and 1 deletions
|
|
@ -187,7 +187,8 @@ public class DefaultTileRenderer implements MapTileRenderer {
|
|||
Graphics2D g2 = zIm.createGraphics();
|
||||
g2.setRenderingHint(RenderingHints.KEY_INTERPOLATION, RenderingHints.VALUE_INTERPOLATION_BILINEAR);
|
||||
g2.drawImage(img, ox, oy, scw, sch, null);
|
||||
|
||||
g2.dispose(); /* Supposed to speed up non-heap memory recovery */
|
||||
|
||||
img.flush();
|
||||
|
||||
/* save zoom-out tile */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue