Majiir / RealtimeRender

Map rendering plugin for Bukkit that updates as the world changes.
2 stars 1 forks source link

Exception thrown when rendering under high load #22

Closed Majiir closed 12 years ago

Majiir commented 12 years ago

The exception occurs when rendering under high load and/or low memory conditions. The exception occurs when trying to read an image file with FileImageProvider, but the exception is thrown by a java.io class. Stack trace to follow.

Majiir commented 12 years ago

The exceptions may be occurring when reading a specific set of files. These files are only accessed when running WorldBorder to load terrain, which is inherently a high load condition. The tiles appear to be rendered correctly, but they aren't transferred to the web server and nearby tile edges show height map artifacts.

To test, I may delete the affected tiles and perform a clean, manual render. These issues may be caused by image corruption resulting from rendering tasks overrunning each other.

Majiir commented 12 years ago

Image loading exceptions are better handled in commit 37f7a55653020e94cb33c6a4f3eaa010de3f0dd8. Tile dimension checking can further improve error resilience.