20

Installed RAM 48.0 GB

Eclipse, Chrome if you ever show the slightest slowliness I'm deleting you forever!

Comments
  • 10
    so are you planning to run those 2 the same time? good luck
  • 4
    They will. Unused ram is actually wasted ram.
  • 2
    Post an update in a couple of hours lol
  • 6
    -Xms2g, -Xmx6g
  • 0
    @coffeeholic how do you do it?
  • 0
    @theuser what? can you explain why?
  • 6
    @chagai95 unused ram is wasted ram - this is true. The same rule applies to CPUs and other resources.

    Resources are there to be used. If you have 1TB of RAM installed and you're only using 120MB, then you're wasting your resources. You have too many. In general, this doesn't have any adverse impact for you (with an exception of CPUs), but it doesn't do you any good either.

    RAM is fast data storage that can be directly accessed by CPU. Which means that this data can be accessed very quickly when needed. Why not use this kind of storage to boost application responsiveness if you have a few megs to spare? Like cache stuff instead of reading from disk, or even worse, fetch from the network each time user requests for it? This way RAM will be put to good use instead of sitting there doing no good for you.

    And I believe that's exactly the thing chrome is doing.
  • 3
    @netikras Not completely true - you won't notice if your RAM is 90% full, but you'd definitely notice if your CPU is at 90% load.
  • 0
    Go for IntelliJ.
  • 2
    @kamen Also not true :) I know what you mean but you are using a wrong metric. It's CPU queue what you'll notice as a user, not the CPU%. These two oftentimes happen to correlate with each other, but not always. You can check your CPU queue length with `uptime`, `vmstat 1`, `sar -q 1` or similar commands.

    You can easily have 95% CPU usage and hardly even feel any impact on UX. However, if tasks start queuing up, then your UX will definitely get impacted.
  • 6
    If you're running eclipse, you have bigger problems in life than RAM
  • 3
    Seriously fuck Eclipse
  • 0
    If you're running a somewhat modern OS, then 95ish% of your RAM should be in use (like when playing a game) or be reserved (like browser cache).
  • 0
    @chagai95 with that much ram you can try make run eclipse faster. create ramdisk for the jdk, eclipse plugin folder and so on
  • 0
    You can keep all your source code in RAM! Never save to disk again :)

    Livin' on the edge
  • 0
    Intelij costs and the team decided on eclipse, I'm new so I don't really have a say in this... I'm still trying to figure out if my computer is actually faster now..
  • 0
    @coffeeholic how do I create RAM for the jdk? What Extensions do you recommend? I find eclipse very annoying to be honest many small thinks, like not being able to ctrl + mouse scroll for size and I couldn't figure out the hotkey to uncomment a code block and the icons are very small, couldn't figure out how to make them bigger even after googling for a while and so on... We use face primes jfs in our company and if there are some good extensions for xhtml connecting that and Java that'll be amazing! I'm actually using atom to edit csv files because that turned out to be easier, but I think it might be better to keep everything in eclipse since I do have a lot of RAM but I don't want to use all my CPU power and get slow again...
  • 0
    @netikras how do I avoid filling the CPU queue then?
  • 0
    And I don't believe I'll be wasting any of that RAM. I use Chrome with a LOT of extensions and I use Vivaldi, Microsoft edge Chromium, opera and even Firefox so all that plus eclipse, Android studio (which is basically intelij), Webstorm, visual studio code and some heavy editors - atom and notepad++ then I also use many other random things: WSL- Ubuntu, deskpin app, Spartan clipboard,

    And if course a heavy virus scanner ( bitscanner I think it's called) and Google and one drive backup in the background which reminds me - using all the Microsoft products as well so one note- huge, teams - gigantic and occasionally word, Excel, PowerPoint...I also use Jitsi meet which is a killer and YouTube videos in the background for music. Did anyone still think I'm wasting RAM?
  • 1
    @netikras Theoretically you might be right, but in practice I'm failing to think of something that will be CPU-intensive and won't just load the first few available threads as much as it can or needs to.
  • 0
    @chagai95 No you are not, the OS is responsible for utilizing it. You just continue working.
  • 0
    @kamen i've seen SUN boxes have 98%+ cpu usage for months and a queue length next to nothing. Also ux was not impacted at all. Load avg was higher tho, since unix and linux calculate it differently.

    So that's not just the theory :)
  • 1
    @chagai95 there are several articles like this
    http://nicolasbize.com/blog/...
Add Comment