Jruby /Java start up booster

Hi, is there some Java / JRuby configuration option that boosts its
startup speed perhaps at the expense of memory. Specifically , I’m
always running in the debugger or running UI apps which would JrubyFX.
I do run in IDEA but I don’t think that would be a bottleneck.

thanks

Charles

Charles -

Do you already know about Nailgun? I wrote an article about it at
http://www.bbs-software.com/blog/2012/09/15/hello-nailgun-goodbye-jvm-startup-delays/
.

I have to say, though, that I’ve had some issues with it. I’d suggest
trying it for your own workflow, but not relying on it for anything
serious, or for disseminating to others.

  • Keith

Keith R. Bennett

thanks, a while ago, I think I may have asked the same question before
:), can’t say that I tried it, the issue is whether that could integrate
with starting up the debugger in IDEA
i.e within the context of Java processes kicked off from IDEA
Charles

thanks I started it , it shows it running on the IDEA run tab but I
can’t tell any discernible difference perhaps there’s more setup that I
have to do, and yes I was primarily starting it in the debugger but
that’s because I have a strange bug with Jruby and IDEA and that is that
I can’t start Sinatra in “run” mode, it returns immediately with a zero
i.e. successful exit apparently. f I start in “debug” mode Sinatra will
be spawned i.e. up and running.

Charles M.
[email protected]

Charles: Intellij has some nailgun support , though I have not used it,
check under “Tools” in the menu. I’m not sure how well this integrates
with
the debugger.