Farseek icon indicating copy to clipboard operation
Farseek copied to clipboard

[1.7.10] GC Crash when using pregen

Open Zethalion opened this issue 9 years ago • 6 comments

Server crash: http://pastebin.com/MjebXSuH

The good folks of FE told me to drop unused mods but I consider yours as essential :)

Zethalion avatar Sep 27 '16 00:09 Zethalion

Farseek/Streams does consume a lot of memory and even more so with pregen (if that mod does what I think it does) and I've been looking at possible leaks as per https://github.com/delvr/Farseek/issues/8. Meanwhile the best you could do is increase memory (google "minecraft GC overhead limit exceeded").

delvr avatar Sep 29 '16 04:09 delvr

Thanks for replying. This crash did happen with -Xms20G -Xmx20G -XX:+UseG1GC while having 24 GB RAM, I can't increase it any further. When pregen is not running and world is generated by flying around, the jvm only use about 6 GB max before a full gc runs. I can only guess generated objects survive too long before being destructed.

Zethalion avatar Sep 29 '16 10:09 Zethalion

#8 was recently fixed - could you verify if that fix resolves this issue as well? Thanks!

delvr avatar Feb 11 '17 17:02 delvr

I will look into it this week.

Zethalion avatar Feb 12 '17 01:02 Zethalion

Hi Zethalion, were you able to confirm if this still occurs? There's a new Streams 0.3 update that might also have helped.

If this still occurs, could you provide more details on which pregen tool and commands you were using?

Note that this might be related to another pre-gen issue: https://github.com/delvr/Streams/issues/24

delvr avatar Jun 16 '17 06:06 delvr

I haven't been using pregen recently but I'll give it a go soon.

The pregen tool I use is integrated in ForgeEssentials. I tried other pregen tools but FE is compatible with nearly every mod.

I use it setting a worldborder and then pregen the dimension.

Zethalion avatar Jun 17 '17 14:06 Zethalion