Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
@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 -
@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.
-
@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) -
retoor7722d@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.
-
retoor7722dJetbreans 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.
-
@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.
-
AdamOnAir682dI use CLion for my Windows laptop that has 8gigs of RAM (everything OK but battery consumption).
You should disable some plugins. -
cuddlyogre124231mThe 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.
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.
rant