Fractal Softworks Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Starsector 0.97a is out! (02/02/24); New blog post: Simulator Enhancements (03/13/24)

Pages: 1 ... 9 10 [11] 12 13 ... 30

Author Topic: [Important!] Modded System Requirements  (Read 513226 times)

Toxcity

  • Admiral
  • *****
  • Posts: 561
    • View Profile
Re: Out of Memory? Use 64-bit Java! (Instructions Inside + Video)
« Reply #150 on: October 05, 2015, 08:50:29 PM »

Using Java 7 for Starsector seems to work, no idea why. Thanks for the help.
Logged

ragdoll

  • Ensign
  • *
  • Posts: 1
    • View Profile
Re: Out of Memory? Use 64-bit Java! (Instructions Inside + Video)
« Reply #151 on: October 08, 2015, 12:15:17 PM »

This method does not work. I followed the steps in the first post but receive an error stating fatal:null whenever I try to run starsector.
The log file gives this at the very end:

128478 [Thread-5] ERROR com.fs.starfarer.combat.D  - 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.graphics.TextureLoader.o00000(Unknown Source)
   at com.fs.graphics.TextureLoader.o00000(Unknown Source)
   at com.fs.graphics.TextureLoader.o00000(Unknown Source)
   at com.fs.graphics.TextureLoader.o00000(Unknown Source)
   at com.fs.graphics.H.o00000(Unknown Source)
   at com.fs.starfarer.settings.StarfarerSettings$1.loadTexture(Unknown Source)
   at org.dark.shaders.util.TextureData.readTextureDataCSVNoOverwrite(TextureData.java:284)
   at data.scripts.MayorateModPlugin.onApplicationLoad(MayorateModPlugin.java:35)
   at com.fs.starfarer.loading.G.super(Unknown Source)
   at com.fs.oOOO.oOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO.Ò00000(Unknown Source)
   at com.fs.starfarer.combat.D.o00000(Unknown Source)
   at com.fs.starfarer.StarfarerLauncher$2.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)

This method also makes the actual exe not work to launch the game. The .bat file in starsector-core will open the launcher, however.

I have 8 gigs of ram and allocated 4 gigs to starsector in vmparams. Does anyone have a method that actually works?
Logged

Dark.Revenant

  • Admiral
  • *****
  • Posts: 2806
    • View Profile
    • Sc2Mafia
Re: Out of Memory? Use 64-bit Java! (Instructions Inside + Video)
« Reply #152 on: October 08, 2015, 01:55:55 PM »

The .bat file does not use the vmparams file.  If you just run the .bat, it's as if you made no changes at all.

Are you sure that there actually is a 64 bit Java 7 in the "jre" folder?
Logged

agigabyte

  • Lieutenant
  • **
  • Posts: 54
    • View Profile
Re: Out of Memory? Use 64-bit Java! (Instructions Inside + Video)
« Reply #153 on: November 03, 2015, 08:19:31 PM »

The game didn't start up with Nexerelin and SS+. It said in the error something about 1024, and when I looked in the jre folder that's worked fine for a couple months, there was no vmparams file at all.
Logged

Dark.Revenant

  • Admiral
  • *****
  • Posts: 2806
    • View Profile
    • Sc2Mafia
Re: Out of Memory? Use 64-bit Java! (Instructions Inside + Video)
« Reply #154 on: November 03, 2015, 09:07:16 PM »

The vmparams file is in the base Starsector folder.
Logged

agigabyte

  • Lieutenant
  • **
  • Posts: 54
    • View Profile
Re: Out of Memory? Use 64-bit Java! (Instructions Inside + Video)
« Reply #155 on: November 03, 2015, 09:21:22 PM »

Starsector Core? Not there. I even used the search function through the entire Starsector folder, and found nothing.
Logged

Dark.Revenant

  • Admiral
  • *****
  • Posts: 2806
    • View Profile
    • Sc2Mafia
Re: Out of Memory? Use 64-bit Java! (Instructions Inside + Video)
« Reply #156 on: November 03, 2015, 10:37:49 PM »

Oh, are you using Linux?  In that case, the .sh file should have all of the parameters you need to set.
Logged

agigabyte

  • Lieutenant
  • **
  • Posts: 54
    • View Profile
Re: Out of Memory? Use 64-bit Java! (Instructions Inside + Video)
« Reply #157 on: November 04, 2015, 08:47:58 AM »

Nope. Using Windows.
Logged

Dark.Revenant

  • Admiral
  • *****
  • Posts: 2806
    • View Profile
    • Sc2Mafia
Re: Out of Memory? Use 64-bit Java! (Instructions Inside + Video)
« Reply #158 on: November 04, 2015, 08:49:07 AM »

"vmparams" is literally right there in the "Starsector" folder.  If it's not there, you deleted it and broke the launcher.
Logged

agigabyte

  • Lieutenant
  • **
  • Posts: 54
    • View Profile
Re: Out of Memory? Use 64-bit Java! (Instructions Inside + Video)
« Reply #159 on: November 04, 2015, 08:50:55 AM »

Well the Launcher works fine, and I didn't delete anything,  but it's nowhere to be found in the SS Folder.
Logged

Dark.Revenant

  • Admiral
  • *****
  • Posts: 2806
    • View Profile
    • Sc2Mafia
Re: Out of Memory? Use 64-bit Java! (Instructions Inside + Video)
« Reply #160 on: November 04, 2015, 08:53:09 AM »

You seem to have a different game than I do, then.  Sorry I can't help you.
Logged

agigabyte

  • Lieutenant
  • **
  • Posts: 54
    • View Profile
Re: Out of Memory? Use 64-bit Java! (Instructions Inside + Video)
« Reply #161 on: November 04, 2015, 08:57:08 AM »

OK, thanks. I'm confused, though, as this method worked fine last time I tried. Oh well.

EDIT: OK, apparently I'm playing with my COPY of Starsector, not the base one. The base one seems incomplete, as not only is vmparams missing, but so are several other things.

EDIT2: And now that I've done all 4 steps, it doesn't start up. The launcher is broken.
« Last Edit: November 04, 2015, 12:16:57 PM by agigabyte »
Logged

gofastskatkat

  • Lieutenant
  • **
  • Posts: 53
    • View Profile
Re: Out of Memory? Use 64-bit Java! (Instructions Inside + Video)
« Reply #162 on: November 04, 2015, 06:03:36 PM »

sounds like you need to reinstall then
Logged

orost

  • Captain
  • ****
  • Posts: 436
    • View Profile
Re: Out of Memory? Use 64-bit Java! (Instructions Inside + Video)
« Reply #163 on: November 07, 2015, 07:26:04 AM »

Do you recommend Oracle JRE or OpenJDK for the game? I know that for Java 7 they're basically 100% equivalent, but I don't know about Java 8. (On Linux)
Logged

Midnight Kitsune

  • Admiral
  • *****
  • Posts: 2846
  • Your Friendly Forum Friend
    • View Profile
Re: Out of Memory? Use 64-bit Java! (Instructions Inside + Video)
« Reply #164 on: November 07, 2015, 09:25:21 AM »

Do you recommend Oracle JRE or OpenJDK for the game? I know that for Java 7 they're basically 100% equivalent, but I don't know about Java 8. (On Linux)
I think Oracle JRE 8 will be OK as SS will be releasing with it packaged next time
Logged
Help out MesoTroniK, a modder in need

2021 is 2020 won
2022 is 2020 too
Pages: 1 ... 9 10 [11] 12 13 ... 30