Just because IntelliJ is using 2GB of RAM doesn't mean they have a memory leak. As long as that 2GB profile is stable, it isn't going to bring down the system.
I didn't build that. How are you so sure it would have less leaks if it were written in a language like C++? I'd bet it would be worse.