[jruby-user] Jruby /Java start up booster

6 views
Skip to first unread message

Charles Monteiro

unread,
May 15, 2013, 3:35:53 PM5/15/13
to Jruby Users List List
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


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email


Keith Bennett

unread,
May 16, 2013, 12:22:11 AM5/16/13
to us...@jruby.codehaus.org, Charles Monteiro
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
http://about.me/keithrbennett

Charles Monteiro

unread,
May 16, 2013, 5:30:27 AM5/16/13
to us...@jruby.codehaus.org
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 

Eric West

unread,
May 16, 2013, 10:44:41 PM5/16/13
to us...@jruby.codehaus.org
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.

Charles Monteiro

unread,
May 20, 2013, 6:59:45 AM5/20/13
to us...@jruby.codehaus.org
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 Monteiro


Reply all
Reply to author
Forward
0 new messages