java.lang.OutOfMemoryError: Java heap space


Solutions on the web1

Solution icon of github
Java heap space

Stack trace

java.lang.OutOfMemoryError: Java heap space
	at com.google.typography.font.sfntly.data.MemoryByteArray.<init>(MemoryByteArray.java:37)
	at com.google.typography.font.sfntly.data.WritableFontData.createWritableFontData(WritableFontData.java:43)
	at com.google.typography.font.sfntly.Font$Builder.loadTableData(Font.java:951)
	at com.google.typography.font.sfntly.Font$Builder.loadFont(Font.java:629)
	at com.google.typography.font.sfntly.Font$Builder.getOTFBuilder(Font.java:648)
	at com.google.typography.font.sfntly.FontFactory.loadSingleOTFForBuilding(FontFactory.java:181)
	at com.google.typography.font.sfntly.FontFactory.loadSingleOTF(FontFactory.java:158)
	at com.google.typography.font.sfntly.FontFactory.loadFonts(FontFactory.java:133)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.