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

一直内存泄漏

[复制链接]

战列舰长

发表于 2024-4-28 15:10:37 | 显示全部楼层 |阅读模式
Mod Bug汇报
待解决
游戏版本: 0.96
Mod中文名:
Mod版本:
游戏日志:
78590 [Thread-3] INFO exerelin.plugins.ExerelinModPlugin - Before game save
78597 [Thread-3] INFO com.fs.starfarer.campaign.save.CampaignGameManager - Saving to ..\saves/save_HT_1508445928601153139...
78599 [Thread-3] INFO com.fs.starfarer.campaign.save.CampaignGameManager - Saving stage 2
78599 [Thread-3] INFO com.fs.starfarer.campaign.save.CampaignGameManager - Saving stage 3
81107 [Thread-3] INFO com.fs.starfarer.campaign.save.CampaignGameManager - Saving stage 4
81107 [Thread-3] INFO com.fs.starfarer.campaign.save.CampaignGameManager - Saving stage 6
81115 [Thread-3] INFO com.fs.starfarer.campaign.save.CampaignGameManager - Saving stage 6B
81115 [Thread-3] INFO com.fs.starfarer.campaign.save.CampaignGameManager - Renaming [campaign.xml] to [campaign.xml.bak]
81117 [Thread-3] INFO com.fs.starfarer.campaign.save.CampaignGameManager - Renaming [descriptor.xml] to [descriptor.xml.bak]
81234 [Thread-3] INFO com.fs.starfarer.campaign.save.CampaignGameManager - Error saving game
81234 [Thread-3] ERROR com.fs.starfarer.campaign.save.CampaignGameManager - File rename failed. Your current save may be corrupted, but should be manually recoverable.

Please try saving again using the "Save Copy" option from the campaign menu - this should create a valid save file.
com.fs.starfarer.util.class: File rename failed. Your current save may be corrupted, but should be manually recoverable.

Please try saving again using the "Save Copy" option from the campaign menu - this should create a valid save file.
at com.fs.starfarer.campaign.save.CampaignGameManager.o00000(Unknown Source)
at com.fs.starfarer.campaign.save.CampaignGameManager.o00000(Unknown Source)
at com.fs.starfarer.campaign.CampaignState.processInput(Unknown Source)
at com.fs.starfarer.BaseGameState.traverse(Unknown Source)
at com.fs.state.AppDriver.begin(Unknown Source)
at com.fs.starfarer.combat.CombatMain.main(Unknown Source)
at com.fs.starfarer.StarfarerLauncher.super(Unknown Source)
at com.fs.starfarer.StarfarerLauncher$1.run(Unknown Source)
at java.lang.Thread.run(Thread.java:750)
254304 [Thread-3] INFO com.fs.starfarer.util.return - Saving screenshot to D:Զ Ǻ 97Starsectorstarsector-core..screenshotsscreenshot000.png...
334984 [Thread-3] INFO exerelin.plugins.ExerelinModPlugin - Before game save
334990 [Thread-3] INFO com.fs.starfarer.campaign.save.CampaignGameManager - Saving to ..\saves/save_HT_1508445928601153139...
334997 [Thread-3] INFO com.fs.starfarer.campaign.save.CampaignGameManager - Saving stage 2
334997 [Thread-3] INFO com.fs.starfarer.campaign.save.CampaignGameManager - Saving stage 3
337074 [Thread-3] INFO com.fs.starfarer.campaign.save.CampaignGameManager - Saving stage 4
337074 [Thread-3] INFO com.fs.starfarer.campaign.save.CampaignGameManager - Saving stage 6
337077 [Thread-3] INFO com.fs.starfarer.campaign.save.CampaignGameManager - Saving stage 6B
337079 [Thread-3] INFO com.fs.starfarer.campaign.save.CampaignGameManager - Renaming [campaign.xml] to [campaign.xml.bak]
337079 [Thread-3] INFO com.fs.starfarer.campaign.save.CampaignGameManager - Renaming [descriptor.xml] to [descriptor.xml.bak]
337154 [Thread-3] INFO com.fs.starfarer.campaign.save.CampaignGameManager - Error saving game
337154 [Thread-3] ERROR com.fs.starfarer.campaign.save.CampaignGameManager - File rename failed. Your current save may be corrupted, but should be manually recoverable.

Please try saving again using the "Save Copy" option from the campaign menu - this should create a valid save file.
com.fs.starfarer.util.class: File rename failed. Your current save may be corrupted, but should be manually recoverable.

Please try saving again using the "Save Copy" option from the campaign menu - this should create a valid save file.
at com.fs.starfarer.campaign.save.CampaignGameManager.o00000(Unknown Source)
at com.fs.starfarer.campaign.save.CampaignGameManager.o00000(Unknown Source)
at com.fs.starfarer.campaign.CampaignState.processInput(Unknown Source)
at com.fs.starfarer.BaseGameState.traverse(Unknown Source)
at com.fs.state.AppDriver.begin(Unknown Source)
at com.fs.starfarer.combat.CombatMain.main(Unknown Source)
at com.fs.starfarer.StarfarerLauncher.super(Unknown Source)
at com.fs.starfarer.StarfarerLauncher$1.run(Unknown Source)
at java.lang.Thread.run(Thread.java:750)
338337 [Thread-3] INFO com.fs.starfarer.util.return - Saving screenshot to D:Զ Ǻ 97Starsectorstarsector-core..screenshotsscreenshot001.png...
343214 [Thread-3] INFO com.fs.starfarer.util.return - Saving screenshot to D:Զ Ǻ 97Starsectorstarsector-core..screenshotsscreenshot002.png...
    复现步骤:
    进游戏后几秒内就会提示内存泄漏,重启游戏后还是一样
    试图保存游戏会显示文件重命名失败,同时文件campaign.xml会消失或变成campaign.xml.bak

    内存泄漏提示

    内存泄漏提示

    保存失败提示

    保存失败提示

    势力巨擘

    发表于 2024-4-28 16:41:06 | 显示全部楼层
    你分几G啊

    点评

    直接用的这个贴子里的vmparams和java [2024版]修改vmparams,解决存档卡顿,适用版本091/0951/096/097(/098/099/100/...) https://www.fossic.org/thread-10689-1-1.html (出处: 远行星号中文论坛)  详情 回复 发表于 2024-4-28 20:08

    战列舰长

     楼主| 发表于 2024-4-28 20:08:32 | 显示全部楼层

    直接用的这个贴子里的vmparams和java
    [2024版]修改vmparams,解决存档卡顿,适用版本091/0951/096/097(/098/099/100/...)
    https://www.fossic.org/thread-10689-1-1.html
    (出处: 远行星号中文论坛)

    点评

    我用了这个帖子的,改成了3G内存,会报内存溢出  详情 回复 发表于 2024-6-1 00:47

    星域军阀

    发表于 2024-4-30 11:44:33 | 显示全部楼层
    你不会没写分配吧,默认是1GB来着

    点评

    默认是8g,改成8192m也不行  详情 回复 发表于 2024-4-30 15:22

    战列舰长

     楼主| 发表于 2024-4-30 15:22:15 | 显示全部楼层
    極光 发表于 2024-4-30 11:44
    你不会没写分配吧,默认是1GB来着

    默认是8g,改成8192m也不行

    巡洋大副

    发表于 2024-6-1 00:47:55 | 显示全部楼层
    hggkkfhsh08474 发表于 2024-4-28 20:08
    直接用的这个贴子里的vmparams和java
    [2024版]修改vmparams,解决存档卡顿,适用版本091/0951/096/097(/ ...

    我用了这个帖子的,改成了3G内存,会报内存溢出
    谁说不能坐在马桶上开方向盘呢?

    本版积分规则

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

    GMT+8, 2024-11-24 20:21

    Powered by Discuz! X3.5

    © 2001-2077 Tencent Cloud | Durian Software Studio

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