jme3test.blender.TestBlenderLoader throws an OutOfMemoryError
See original GitHub issueCurrently (in master
branch at 3.3-6680) TestBlenderLoader
crashes with the following stack trace:
Dec 29, 2018 10:14:34 AM com.jme3.scene.plugins.blender.file.FileBlockHeader$BlockCode valueOf
WARNING: Unknown block header: PY00
Dec 29, 2018 10:14:34 AM com.jme3.scene.plugins.blender.file.FileBlockHeader$BlockCode valueOf
WARNING: Unknown block header: PY00
Dec 29, 2018 10:14:34 AM com.jme3.scene.plugins.blender.file.FileBlockHeader$BlockCode valueOf
WARNING: Unknown block header: PY00
Dec 29, 2018 10:14:34 AM com.jme3.scene.plugins.blender.animations.AnimationHelper loadAnimations
INFO: Loading animations that will be later applied to scene features.
Dec 29, 2018 10:14:34 AM com.jme3.scene.plugins.blender.animations.AnimationHelper loadAnimations
INFO: Found animation: Dance.
Dec 29, 2018 10:14:34 AM com.jme3.scene.plugins.blender.animations.AnimationHelper loadAnimations
INFO: Found animation: DrawSwords.
Dec 29, 2018 10:14:34 AM com.jme3.scene.plugins.blender.animations.AnimationHelper loadAnimations
INFO: Found animation: HandsClosed.
Dec 29, 2018 10:14:34 AM com.jme3.scene.plugins.blender.animations.AnimationHelper loadAnimations
INFO: Found animation: HandsRelaxed.
Dec 29, 2018 10:14:34 AM com.jme3.scene.plugins.blender.animations.AnimationHelper loadAnimations
INFO: Found animation: IdleBase.
Dec 29, 2018 10:14:34 AM com.jme3.scene.plugins.blender.animations.AnimationHelper loadAnimations
INFO: Found animation: IdleTop.
Dec 29, 2018 10:14:34 AM com.jme3.scene.plugins.blender.animations.AnimationHelper loadAnimations
INFO: Found animation: JumpEnd.
Dec 29, 2018 10:14:34 AM com.jme3.scene.plugins.blender.animations.AnimationHelper loadAnimations
INFO: Found animation: JumpLoop.
Dec 29, 2018 10:14:34 AM com.jme3.scene.plugins.blender.animations.AnimationHelper loadAnimations
INFO: Found animation: JumpStart.
Dec 29, 2018 10:14:34 AM com.jme3.scene.plugins.blender.animations.AnimationHelper loadAnimations
INFO: Found animation: RunBase.
Dec 29, 2018 10:14:34 AM com.jme3.scene.plugins.blender.animations.AnimationHelper loadAnimations
INFO: Found animation: RunTop.
Dec 29, 2018 10:14:34 AM com.jme3.scene.plugins.blender.animations.AnimationHelper loadAnimations
INFO: Found animation: SliceHorizontal.
Dec 29, 2018 10:14:34 AM com.jme3.scene.plugins.blender.animations.AnimationHelper loadAnimations
INFO: Found animation: SliceVertical.
Dec 29, 2018 10:14:35 AM com.jme3.app.LegacyApplication handleError
SEVERE: Uncaught exception thrown in Thread[jME3 Main,5,main]
java.lang.OutOfMemoryError: Java heap space
at com.jme3.texture.plugins.TGALoader.load(TGALoader.java:205)
at com.jme3.texture.plugins.TGALoader.load(TGALoader.java:83)
at com.jme3.asset.DesktopAssetManager.loadLocatedAsset(DesktopAssetManager.java:259)
at com.jme3.asset.DesktopAssetManager.loadAssetFromStream(DesktopAssetManager.java:341)
at com.jme3.scene.plugins.blender.textures.ImageLoader.loadTexture(ImageLoader.java:118)
at com.jme3.scene.plugins.blender.textures.TextureHelper.loadImageAsTexture(TextureHelper.java:255)
at com.jme3.scene.plugins.blender.BlenderLoader.load(BlenderLoader.java:133)
at com.jme3.scene.plugins.blender.BlenderLoader.load(BlenderLoader.java:88)
at com.jme3.asset.DesktopAssetManager.loadLocatedAsset(DesktopAssetManager.java:259)
at com.jme3.asset.DesktopAssetManager.loadAsset(DesktopAssetManager.java:373)
at com.jme3.asset.DesktopAssetManager.loadModel(DesktopAssetManager.java:416)
at com.jme3.asset.DesktopAssetManager.loadModel(DesktopAssetManager.java:420)
at jme3test.blender.TestBlenderLoader.simpleInitApp(TestBlenderLoader.java:53)
at com.jme3.app.SimpleApplication.initialize(SimpleApplication.java:220)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.initInThread(LwjglAbstractDisplay.java:130)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.run(LwjglAbstractDisplay.java:211)
at java.lang.Thread.run(Thread.java:748)
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
How to Handle the OutOfMemoryError in Java - Rollbar
OutOfMemoryError is a runtime error in Java which occurs when the JVM is ... OutOfMemoryError thrown due to insufficient Java heap space:
Read more >3.2 Understand the OutOfMemoryError Exception
Usually, this error is thrown when there is insufficient space to allocate an object in the Java heap. In this case, The garbage...
Read more >How do I resolve "OutOfMemoryError" Hive Java heap space ...
I'm running an Apache Hive query on Amazon EMR. Hive throws an OutOfMemoryError exception while outputting the query results.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Blender importer is removed in the master branch and JME 3.4 will not support importing blender files. You should use Gltf instead.
Maybe we should close this issue or tag it with “wontfix”
The same failure was observed during 3.3.1 testing.