Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a way to make system responsive while NetBeans is unpacking the index for Sonatype repository?

All the developers in my team here have the same problem - when NetBeans is unpacking the index for Sonatype Repository the system becomes very, very slow. I hope that there is some parameter somewhere so we can reduce the priority of that process in order to make it "behave"?

UPDATE: Thanks to @sashoalm for reminding me about the disk I/O. I have noticed that the process does lots of disk I/O and that probably makes the system unresponsive.

It has a nasty habit of starting at the worst possible time, so we had to turn it off…

like image 233
DejanLekic Avatar asked Dec 04 '25 01:12

DejanLekic


1 Answers

OK, I have found a solution. I am not particularly happy with it, but anything is better than nothing.

Luckily, I use Linux exclusively, so I simply reniced the java process that is taking all the system resources. A simple renice -p <java PID here> -n 10 did the job, and the whole system is now responsive as before.

like image 129
DejanLekic Avatar answered Dec 07 '25 03:12

DejanLekic



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!