Earlier quoted context omitted.
How much heap are you allocating? I was seeing unusually poor performance while working with a large project until I bumped the heap up to 4-6g. It still takes a minute when I open the project but is pretty performant otherwise. Also, I've had to invalidate the cache a couple of times when idea was behaving strangely (over a 5 yr or so period)
Good suggestion; I've cranked it up to 5 GB from the default (0.75, iirc) in case the problems were stemming from the garbage collector spinning. Haven't tried it out yet, but thanks :)
IntelliJ IDEA and the whole IntelliJ platform migrates to Java 8
131–140 of 141 posts
Re: IntelliJ IDEA and the whole IntelliJ platform migrates to Java 8
#132Re: IntelliJ IDEA and the whole IntelliJ platform migrates to Java 8
#133Earlier quoted context omitted.
It's amazing how one man's "pig" can be a ton of other people's "best IDE that there is". At least in the case of Visual Studio...I don't hear quite as many people naming IntelliJ as "the best". Not even close.
The only people I hear calling Visual Studio "the best" are usually .NET developers. Considering their lack of choices I'm not surprised.
Re: IntelliJ IDEA and the whole IntelliJ platform migrates to Java 8
#134Earlier quoted context omitted.
Good suggestion; I've cranked it up to 5 GB from the default (0.75, iirc) in case the problems were stemming from the garbage collector spinning. Haven't tried it out yet, but thanks :)
5GB could potentially have a detrimental impact as well, instead of there not being enough memory and causing the GC to have to run aggressively you may simply be causing the GC to pause longer when it runs due to a larger heap of dead objects (the default GC is really bad here, G1 is a lot better). Try starting with 1-2GB, increase past if really necessary (it's been more than enough for me, personally).
Re: IntelliJ IDEA and the whole IntelliJ platform migrates to Java 8
#135Earlier quoted context omitted.
5GB could potentially have a detrimental impact as well, instead of there not being enough memory and causing the GC to have to run aggressively you may simply be causing the GC to pause longer when it runs due to a larger heap of dead objects (the default GC is really bad here, G1 is a lot better). Try starting with 1-2GB, increase past if really necessary (it's been more than enough for me, personally).
In practice it seems to be hovering at around 1-2 anyways. On a side note, I really hate that the JVM requires users to be aware of its heap tuning parameters :/
Re: IntelliJ IDEA and the whole IntelliJ platform migrates to Java 8
#136Java as base platform? Shit, didn't know that, and it totally explains the slowness on anything Can anyone please tell me a reasonably complex GUI program in Java that is actually fast and resource-efficient? Counter-examples include IDEA, Lotus Notes, JDownloader, SAP... I believe that while Java may be a nice programming language, you import slowness and resource starving of your system by using it.
Hm, I write Java for a living (Android) and Java being a nice language would be one of the last things about it to come to my mind...
I've been writing Java for over 15 years and still don't want to write Android apps in any capacity.
It certainly has quirks and issues (as all languages do) but I'd say it'a as 'nice' (if not more so) as most popular languages.
Re: IntelliJ IDEA and the whole IntelliJ platform migrates to Java 8
#137Earlier quoted context omitted.
> Maybe it's Oracle releasing new Java versions every two years now, and being more aggressive about end-of-life'ing the prior versions? This is a big part of it. If you want support for older JDKs, you have to pay Red Hat for OpenJDK support. Which isn't even "real" Java, in the eyes of many companies. Add in the clamour of major libraries and platforms pushing everyone to go to Java 8 so they can slash great chunks…
You can also buy support directly from Oracle: http://www.oracle.com/us/technologies/java/standard-edition/... From the above site: * Direct access to secure versions of older releases of Java SE via My Oracle Support * Rigorous and on-going regression testing and fixes for EOL’d versions of Java SE
Re: IntelliJ IDEA and the whole IntelliJ platform migrates to Java 8
#138Earlier quoted context omitted.
Hm, I write Java for a living (Android) and Java being a nice language would be one of the last things about it to come to my mind...
Android is mostly the Android APIs and 'way of doing things' though. It certainly isn't the same as desktop or Enterprise Java. I've been writing Java for over 15 years and still don't want to write Android apps in any capacity. It certainly has quirks and issues (as all languages do) but I'd say it'a as 'nice' (if not more so) as most popular languages.
Java certainly feels dated (I know it's trying to catch up).
Re: IntelliJ IDEA and the whole IntelliJ platform migrates to Java 8
#139Earlier quoted context omitted.
Sorry hari, I love intellij and the work you do there, but I do not believe you. Please show me an IntelliJ IDEA that looks and behaves exactly like webstorm and pycharm just with plugins. You can't. For example Pycharm doesn't even have a project settings option. What plugin gives you that?
Are you asking if IntelliJ IDEA can look like PyCharm? If that's the case, no, it can't. Each IDE is somewhat tailored to the specifics of the framework/language/platform as I mentioned, but the functionality that they provide is available as plugins. For instance with WebStorm you can have node.js, angular.js plugins installed in IntelliJ IDEA and get the same features. Obviously, IntelliJ IDEA is a polyglot environ…
I'm very happy for the universal license, thank you so much for adding it. I love the special editors like WebStorm and PyCharm, and I use IntelliJ IDEA as well. I use them all, regularly.