9

I've been suffering from frequent and random crashes with my Jetbrains products, as well as awful performance.

As it turns out, even with 16GB of RAM, it still needs the swapfile to function properly. After creating an 8BG swapfile, it starts almost instantly and my crashes seem to be resolved.

Comments
  • 4
    lmao, I barely even need 2 gigs. GNU master race!
  • 6
    I have a 40GB swap file for modded Skyrim.
  • 5
    *reading this rant on a 96G RAM laptop*
  • 5
    I do love me those BG
  • 4
    @atheist What, you're too poor to have bigagytes of RAM?
  • 4
    @cuddlyogre downloading more bitagyges right now.
  • 2
    Have you tuned the vm settings?
  • 2
    @12bitfloat what does that mean?
  • 2
    @Demolishun The java vm the ide runs in. Under Help > Edit VM Settings and Help > Change Memory you can turn up the memory and tune the gc

    Though I'm not sure it'll help if it's already overflowing the mem to swap lol
  • 2
    @12bitfloat ah, okay, is this similar to param settings for running java minecraft? I have done that, but didn't really understand what I was changing other than memory ranges. Or tweaking gc algorithms.
  • 1
    @Demolishun Basically the same, but like I said, I'm not sure you can make it much better

    Normally the bottleneck is pause times. But if it crashes because of memory usage there's really nothing even a literally magic gc like shenandoah can do

    (for real though, look up the shenandoah gc, it's actually black magic. Sub millisecond pause times regardless of heap size.... literally how)
  • 1
    @Liebranca my server even uses more. Mail server is quite heavy, even with the email scanner disabled. In my case you don't want a virusscanner anyway.
  • 1
    Jetbreans are best ide's ever and reasonably priced on top of that. But yes, heavy as F. I'm not used to crashing tho. It's the file indexing someway, at a certain point it comes with Inotify message but there is a fix for that that benefits well.
  • 1
    @retoor My brain is spaghetti and all I can think of is what would happen if I sent you a logic bomb via fax but you somehow received it on a teletype machine.
  • 0
    I use CLion for my Windows laptop that has 8gigs of RAM (everything OK but battery consumption).

    You should disable some plugins.
  • 0
    The full story is this is on a Debian VM with only 16gb assigned to it with no swap. The host is Windows 11 Pro with 128gb of RAM, so I'm thinking that's where my brain was when I disabled swap.

    I have a couple other Debian machines that suffer from random crashes that are likely caused by a missing swap too.

    For some reason, I didn't realize swap was so important.
Add Comment