Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2.6.14725: Util#newImage:56 - java.lang.OutOfMemoryError #12569

Open
tripleabuilderbot opened this issue May 7, 2024 · 1 comment
Open

2.6.14725: Util#newImage:56 - java.lang.OutOfMemoryError #12569

tripleabuilderbot opened this issue May 7, 2024 · 1 comment
Labels
Error Report Issue reported via the in-game error reporter

Comments

@tripleabuilderbot
Copy link
Contributor

Map

Russian_Civil_War / Russian Civil War (6 players)

Log Message

Java heap space

TripleA Version

2.6.14725

Java Version

11.0.22

Operating System

Linux

Heap Size

1842M

Stack Trace

Exception: java.lang.OutOfMemoryError Java heap space
java.lang.Exception
	at java.desktop/java.awt.image.DataBufferByte.<init>(DataBufferByte.java:76)
	at java.desktop/java.awt.image.Raster.createInterleavedRaster(Raster.java:266)
	at java.desktop/java.awt.image.BufferedImage.<init>(BufferedImage.java:391)
	at games.strategy.ui.Util.newImage(Util.java:56)
	at games.strategy.triplea.ui.screen.Tile.<init>(Tile.java:35)
	at games.strategy.triplea.ui.screen.TileManager.createTiles(TileManager.java:166)
	at games.strategy.triplea.ui.panels.map.MapPanel.recreateTiles(MapPanel.java:339)
	at games.strategy.triplea.ui.panels.map.MapPanel.lambda$new$3(MapPanel.java:303)
	at games.strategy.triplea.ui.panels.map.MapPanel$$Lambda$825/0x000000084051e840.run(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:829)


@tripleabuilderbot tripleabuilderbot added the Error Report Issue reported via the in-game error reporter label May 7, 2024
@asvitkine
Copy link
Contributor

@DanVanAtta

I had added the "Heap Size" section to these reports, but I noticed in 2.5, we actually had a more detailed "Memory
Heap utilization statistics" section, e.g.:
#12577

Any reason we stopped adding those?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Error Report Issue reported via the in-game error reporter
Projects
None yet
Development

No branches or pull requests

2 participants