android - libgdx couldn't load pixmap outofmem -


i had made game , can run without error, sometime throw error don't known why, need help~~~~~~~~

here's error message:

exception in thread "lwjgl application" com.badlogic.gdx.utils.gdxruntimeexception: couldn't load file: data/font/fzkt.png     @ com.badlogic.gdx.graphics.pixmap.<init>(pixmap.java:140)     @ com.badlogic.gdx.graphics.glutils.filetexturedata.prepare(filetexturedata.java:64)     @ com.badlogic.gdx.graphics.texture.load(texture.java:142)     @ com.badlogic.gdx.graphics.texture.<init>(texture.java:133)     @ com.badlogic.gdx.graphics.texture.<init>(texture.java:112)     @ com.badlogic.gdx.graphics.texture.<init>(texture.java:108)     @ com.badlogic.gdx.graphics.g2d.bitmapfont.<init>(bitmapfont.java:135)     @ com.badlogic.gdx.graphics.g2d.bitmapfont.<init>(bitmapfont.java:127)     @ com.thtb.game.zy.utils.getfont(utils.java:167)     @ com.thtb.game.zy.actor.ygz.takedinfo.<init>(takedinfo.java:53)     @ com.thtb.game.zy.screen.chengscreen.show(chengscreen.java:53)     @ com.badlogic.gdx.game.setscreen(game.java:62)     @ com.thtb.game.zy.zygame.setscreen(zygame.java:176)     @ com.thtb.game.zy.listener.commandclicklistener$5.clicked(commandclicklistener.java:503)     @ com.badlogic.gdx.scenes.scene2d.utils.clicklistener.touchup(clicklistener.java:84)     @ com.badlogic.gdx.scenes.scene2d.inputlistener.handle(inputlistener.java:57)     @ com.badlogic.gdx.scenes.scene2d.stage.touchup(stage.java:343)     @ com.badlogic.gdx.inputmultiplexer.touchup(inputmultiplexer.java:94)     @ com.badlogic.gdx.backends.lwjgl.lwjglinput.processevents(lwjglinput.java:303)     @ com.badlogic.gdx.backends.lwjgl.lwjglapplication.mainloop(lwjglapplication.java:200)     @ com.badlogic.gdx.backends.lwjgl.lwjglapplication$1.run(lwjglapplication.java:114) caused by: java.io.ioexception: couldn't load pixmap outofmem     @ com.badlogic.gdx.graphics.g2d.gdx2dpixmap.<init>(gdx2dpixmap.java:57)     @ com.badlogic.gdx.graphics.pixmap.<init>(pixmap.java:138)     ... 20 more  


Comments

Popular posts from this blog

matlab - "Contour not rendered for non-finite ZData" -

delphi - Indy UDP Read Contents of Adata -

javascript - Any ideas when Firefox is likely to implement lengthAdjust and textLength? -