找回密码
 初始化身份识别芯片
查看: 485|回复: 2

无法存档求解决

[复制链接]

巡洋大副

发表于 2024-6-13 00:31:29 | 显示全部楼层 |阅读模式
Mod Bug汇报
已解决
游戏版本: 0.95.1
Mod中文名:
Mod版本:
游戏日志:
10727319 [Thread-3] INFO com.fs.starfarer.campaign.save.CampaignGameManager - Saving stage 2

10727319 [Thread-3] INFO com.fs.starfarer.campaign.save.CampaignGameManager - Saving stage 3

10785766 [Thread-3] INFO com.fs.starfarer.campaign.save.CampaignGameManager - Error saving game

10785766 [Thread-3] ERROR com.fs.starfarer.campaign.save.CampaignGameManager - GC overhead limit exceeded

java.lang.OutOfMemoryError: GC overhead limit exceeded

at java.lang.AbstractStringBuilder.<init>(Unknown Source)

at java.lang.StringBuffer.<init>(Unknown Source)

at com.thoughtworks.xstream.io.path.PathTracker.peekElement(PathTracker.java:131)

at com.thoughtworks.xstream.io.path.PathTracker.getPath(PathTracker.java:169)

at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:53)

at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)

at com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:84)

at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.marshallField(AbstractReflectionConverter.java:274)

at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$2.writeField(AbstractReflectionConverter.java:250)

at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$2.<init>(AbstractReflectionConverter.java:209)

at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doMarshal(AbstractReflectionConverter.java:144)

at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.marshal(AbstractReflectionConverter.java:90)

at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)

at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)

at com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:84)

at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.marshallField(AbstractReflectionConverter.java:274)

at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$2.writeField(AbstractReflectionConverter.java:250)

at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$2.<init>(AbstractReflectionConverter.java:213)

at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doMarshal(AbstractReflectionConverter.java:144)

at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.marshal(AbstractReflectionConverter.java:90)

at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)

at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)

at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:43)

at com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:88)

at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.writeItem(AbstractCollectionConverter.java:66)

at com.thoughtworks.xstream.converters.collections.CollectionConverter.marshal(CollectionConverter.java:74)

at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)

at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)

at com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:84)

at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.marshallField(AbstractReflectionConverter.java:274)

at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$2.writeField(AbstractReflectionConverter.java:250)

at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$2.<init>(AbstractReflectionConverter.java:213)
    复现步骤:
    本帖最后由 名字是要隐藏的 于 2024-6-13 17:44 编辑

    ### 游戏信息

    游戏版本:                0.95.1a-RC6

    ### 系统信息

    操作系统:Microsoft Windows 10 家庭中文版

    版本:10.0.19045 暂缺 Build 19045

    总可用内存:`15.93G`


    Java版本:`1.7.0_79`

    Java路径:I:\远行星号0.95.1\Starsector\jre


    虚拟机参数:java.exe -XX:CompilerThreadPriority=1 -XX:+CompilerThreadHintNoPreempt -Djava.library.path=native\\windows -Xms1536m -Xmx1536m -Xss2048k -classpath janino.jar;commons-compiler.jar;commons-compiler-jdk.jar;starfarer.api.jar;starfarer_obf.jar;jogg-0.0.7.jar;jorbis-0.0.15.jar;json.jar;lwjgl.jar;jinput.jar;log4j-1.2.9.jar;lwjgl_util.jar;fs.sound_obf.jar;fs.common_obf.jar;xstream-1.4.10.jar -Dcom.fs.starfarer.settings.paths.saves=..\\saves -Dcom.fs.starfarer.settings.paths.screenshots=..\\screenshots -Dcom.fs.starfarer.settings.paths.mods=..\\mods -Dcom.fs.starfarer.settings.paths.logs=. com.fs.starfarer.StarfarerLauncher

    堆栈初始大小(`-Xms`):`1536m`

    堆栈最大大小(`-Xmx`):`1536m`


    ### Mod信息

    |Mod名称                           |Mod版本   |已启用     |
    |-|-|-|
    |LazyLib                         |2.7b    |是       |
    |zz GraphicsLib                  |1.6.1   |是       |
    |MagicLib                        |0.46.1-rc03|是       |
    |[链戍集团军]Shackles Garrison - XXVIIBattleGroup |0.7.7   |是       |
    |cjy的玩具箱                         |0.3.0p -fix6|是       |
    |J GEEK Federation               |0.8.0   |是       |
    |P9殖民领                           |0.55    |是       |
    |中微子公司:怀旧版                       |1.87-RC3|是       |
    |势力争霸 [Nexerelin]                |0.10.6d |是       |
    |博尔肯基金会 [Foundation Of Borken]   |0.6.1   |是       |
    |女武神组织 [Valkyrians]              |3.1.0   |是       |
    |希尔芬研究所                          |1.0     |是       |
    |恶魔航电 [Diable Avionics]          |2.7.0rc2|是       |
    |星际帝国 [Interstellar Imperium]    |2.5.2   |是       |
    |星际联邦[Star Federation]           |0.99 RC3|是       |
    |暗影重建局 [Shadowyards]             |0.9.5-rc4|是       |
    |机械虚空船厂                          |0.53    |是       |
    |标量科技解决方案                        |0.8.7   |是       |
    |沃尔科夫工业集团[VIC]                   |1.5.8a  |是       |
    |泰兰船包                            |0.9RC3  |是       |
    |燃料虹吸[Fuel Siphoning]            |1.2.2   |是       |
    |羊头航务局[Goat_Aviation_Bureau]     |1.4.5   |是       |
    |蓝海渔业[BlueSeaFisher]             |0.98b1.4|是       |
    |趋光议会 [ApproLight]               |1.2.0   |是       |
    |达索-米高扬设计局                       |1.6a    |是       |
    |速子特勤局                           |0.2     |是       |
    |阿卡涅西斯之遗                         |v1.9.11 |是       |
    |麦哲伦保护国                          |1.5a    |是       |
    |黑石船坞 [Blackrock Drive Yards]    |0.9.5b2 |是       |

    (以上内容由 远行星号 报错信息收集工具 自动生成,生成工具版本 `1.1.2`).



    在自由港买了台桥头堡后就保存不了了,求大神解决




    星域军阀

    高级机师

    发表于 2024-6-13 13:01:11 | 显示全部楼层
    内存不足,修改vmparams为游戏分配更多内存,或更换游戏自带的jre至jre8

    点评

    感谢大佬,解决了  详情 回复 发表于 2024-6-13 17:43

    巡洋大副

     楼主| 发表于 2024-6-13 17:43:39 | 显示全部楼层
    cjy4312 发表于 2024-6-13 13:01
    内存不足,修改vmparams为游戏分配更多内存,或更换游戏自带的jre至jre8

    感谢大佬,解决了

    本版积分规则

    Archiver|手机版|小黑屋|远行星号中文论坛

    GMT+8, 2024-11-24 19:22

    Powered by Discuz! X3.5

    © 2001-2077 Tencent Cloud | Durian Software Studio

    快速回复 返回顶部 返回列表