Rusted Warfare - RTS

Rusted Warfare - RTS

Mederic Feb 23, 2018 @ 2:59pm
Game crashes at startup
Hi,

I get an error when I start the game : java.lang.OutOfMemoryError
My config: Windows 8.1, 8GB RAM, I7 2Ghz, GeForceGT 540M

I found this in the lastrun.log :

Fri Feb 23 23:51:18 CET 2018 DEBUG:Creating FBO 544x544 Fri Feb 23 23:51:18 CET 2018 INFO:Offscreen Buffers FBO=true PBUFFER=true PBUFFERRT=false Fri Feb 23 23:51:18 CET 2018 DEBUG:Creating FBO 544x544 2018-02-23 23:51:19.124: uncaughtException start 2018-02-23 23:51:19.124: Freeing memory 2018-02-23 23:51:19.165: uncaughtException: Memory freed 2018-02-23 23:51:19.165: gameEngine:uncaughtExceptionHandler 2018-02-23 23:51:19.165: java.lang.OutOfMemoryError 2018-02-23 23:51:19.165: cause:null java.lang.OutOfMemoryError at sun.misc.Unsafe.allocateMemory(Native Method) at java.nio.DirectByteBuffer.<init>(DirectByteBuffer.java:127) at java.nio.ByteBuffer.allocateDirect(ByteBuffer.java:311) at org.lwjgl.BufferUtils.createByteBuffer(BufferUtils.java:60) at org.newdawn.slick.opengl.EmptyImageData.getImageBufferData(EmptyImageData.java:47) at org.newdawn.slick.opengl.InternalTextureLoader.getTexture(InternalTextureLoader.java:390) at org.newdawn.slick.opengl.InternalTextureLoader.createTexture(InternalTextureLoader.java:374) at org.newdawn.slick.opengl.pbuffer.FBOGraphics.init(FBOGraphics.java:96) at org.newdawn.slick.opengl.pbuffer.FBOGraphics.<init>(FBOGraphics.java:47) at org.newdawn.slick.opengl.pbuffer.GraphicsFactory.createGraphics(GraphicsFactory.java:124) at org.newdawn.slick.opengl.pbuffer.GraphicsFactory.getGraphicsForImage(GraphicsFactory.java:91) at org.newdawn.slick.Image.getGraphics(Image.java:444) at com.corrodinggames.rts.java.c.a(SourceFile:89) at com.corrodinggames.rts.c.b.d.a(SourceFile:3180) at com.corrodinggames.rts.c.b.c.e(SourceFile:2560) at com.corrodinggames.rts.c.b.c.d(SourceFile:2476) at com.corrodinggames.rts.c.b.b.c(SourceFile:3355) at com.corrodinggames.rts.c.g.b(SourceFile:1865) at com.corrodinggames.rts.java.n.render(SourceFile:1489) at com.corrodinggames.rts.java.a.updateAndRender(SourceFile:197) at com.corrodinggames.rts.java.a.gameLoop(SourceFile:107) at org.newdawn.slick.AppGameContainer.start(AppGameContainer.java:321) at com.corrodinggames.rts.java.j.run(SourceFile:1203) at java.lang.Thread.run(Thread.java:745) 2018-02-23 23:51:19.168: Starting errorReport 2018-02-23 23:51:19.168: startErrorReport:ErrorReport requested 2018-02-23 23:51:19.169: waiting 2018-02-23 23:51:19.170: SendErrorReport:Starting 2018-02-23 23:51:19.172: SendErrorReport:making request 2018-02-23 23:51:19.176: Running doSingleRequest:http://gs1.corrodinggames.com/masterserver/1.2 2018-02-23 23:51:19.176: Running doSingleRequest:http://gs4.corrodinggames.net/masterserver/1.2 2018-02-23 23:51:19.970: onGameCrash: Showing message 2018-02-23 23:51:20.231: SendErrorReport:Send trace successfully 2018-02-23 23:51:20.232: SendErrorReport:took: 0.001063 seconds 2018-02-23 23:51:45.062: onGameCrash: end 2018-02-23 23:51:45.062: CustomExceptionHandler: defaultUEH==null
< >
Showing 1-8 of 8 comments
LeeIzaZombie Feb 23, 2018 @ 3:04pm 
Have you ever allocated extra ram for any games like Minecraft or other Java based programs/games?
Mederic Feb 23, 2018 @ 3:08pm 
I don't think so.
corrodinggames  [developer] Feb 23, 2018 @ 4:06pm 
Could you post your full lastrun.log file, just crash from an out of memory is hard to track down.

There have been some out of memory issues from subscribing to a lot of mods. as even if they are inactive they still get loaded for use in multiplayer.

In the same folder as the lastrun.log file there is 'fallback_lowmem.bat' could you try running that and see if it works?
Mederic Feb 23, 2018 @ 5:31pm 
It was the first time I launched the game, so no mods. Running 'fallback_lowmem.bat' worked, but by habit I immediately went in the settings and set fullscreen, then it crashed again.

I dumped the lastrun.log and 2 crash dumps in this pastebin.

https://pastebin.com/Z4ZQA7sr
Mederic Feb 24, 2018 @ 1:45pm 
I thought 'fallback_lowmem.bat' worked, but apparently it works at random, same for the main executable.
LeeIzaZombie Feb 24, 2018 @ 2:11pm 
Looks like Java had a huge crash outside the program, this is usually caused by a hardware error, usually in the memory.

First thing's first, are all your drivers fully updated? (Graphics Card)

Also try run a memory check on your machine incase it's a memory issue:
https://technet.microsoft.com/en-us/library/ff700221.aspx?f=255&MSPPError=-2147217396

If nothing works out I'm sure the Dev might have a soultion for you :)
corrodinggames  [developer] Feb 24, 2018 @ 6:08pm 
So that low level crash is from ig4icd32.dll which is a intel graphics driver. But you said you have a GeForceGT 540M, so nvidia optimus is likely failing to detect the game as a game (I'm looking into ways I can help it) and is using your secondary intel card which often has out of date buggy drivers. Could you have a look here http://nvidia.custhelp.com/app/answers/detail/a_id/2615/~/how-do-i-customize-optimus-profiles-and-settings%3F and see if you can force the game to run with the nvidia card.
Mederic Feb 25, 2018 @ 1:21pm 
No memory issues, but I noticed I couldn't access the nvidia control panel anymore. So I updated the graphic driver and selected the GT 540M by default. That fixed it. Thanks!
< >
Showing 1-8 of 8 comments
Per page: 1530 50