Fractal Softworks Forum

Please login or register.

Login with username, password and session length

Author Topic: Needs to ship with 64-bit Java  (Read 1618 times)

kazi

  • Admiral
  • *****
  • Posts: 714
    • View Profile
Needs to ship with 64-bit Java
« on: April 22, 2017, 06:30:31 PM »

I get this error on start on a fresh install (no mods) in both Windows 10 and Ubuntu 17.04.

Code
27223 [Thread-4] ERROR com.fs.starfarer.combat.CombatMain  - java.lang.OutOfMemoryError
java.lang.OutOfMemoryError
        at sun.misc.Unsafe.allocateMemory(Native Method)
        at java.nio.DirectByteBuffer.<init>(Unknown Source)
        at java.nio.ByteBuffer.allocateDirect(Unknown Source)
        at org.lwjgl.BufferUtils.createByteBuffer(BufferUtils.java:60)
        at com.fs.starfarer.util.o0OO.?00000(Unknown Source)
        at com.fs.starfarer.loading.ResourceLoaderState.init(Unknown Source)
        at com.fs.state.AppDriver.begin(Unknown Source)
        at com.fs.starfarer.combat.CombatMain.main(Unknown Source)
        at com.fs.starfarer.StarfarerLauncher$1.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)

I think it's time to stop shipping/supporting 32-bit Java.
Logged

Midnight Kitsune

  • Admiral
  • *****
  • Posts: 2847
  • Your Friendly Forum Friend
    • View Profile
Re: Needs to ship with 64-bit Java
« Reply #1 on: April 22, 2017, 08:08:27 PM »

I get this error on start on a fresh install (no mods) in both Windows 10 and Ubuntu 17.04.

Code
27223 [Thread-4] ERROR com.fs.starfarer.combat.CombatMain  - java.lang.OutOfMemoryError
java.lang.OutOfMemoryError
        at sun.misc.Unsafe.allocateMemory(Native Method)
        at java.nio.DirectByteBuffer.<init>(Unknown Source)
        at java.nio.ByteBuffer.allocateDirect(Unknown Source)
        at org.lwjgl.BufferUtils.createByteBuffer(BufferUtils.java:60)
        at com.fs.starfarer.util.o0OO.?00000(Unknown Source)
        at com.fs.starfarer.loading.ResourceLoaderState.init(Unknown Source)
        at com.fs.state.AppDriver.begin(Unknown Source)
        at com.fs.starfarer.combat.CombatMain.main(Unknown Source)
        at com.fs.starfarer.StarfarerLauncher$1.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)

I think it's time to stop shipping/supporting 32-bit Java.
He knows and will ship with 64 bit in .81
In the mean time, LOWER (yes, I said lower) the mem allocation to 768 and try that. Or do 64 bit
Logged
Help out MesoTroniK, a modder in need

2021 is 2020 won
2022 is 2020 too

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 24111
    • View Profile
Re: Needs to ship with 64-bit Java
« Reply #2 on: April 22, 2017, 09:54:48 PM »

Yep.
Logged

kazi

  • Admiral
  • *****
  • Posts: 714
    • View Profile
Re: Needs to ship with 64-bit Java
« Reply #3 on: April 22, 2017, 11:40:53 PM »

Yep.

Ah, in that case, please disregard this announcement haha.
Logged