[ 
https://jira.duraspace.org/browse/DS-1339?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=27507#comment-27507
 ] 

Richard Rodgers commented on DS-1339:
-------------------------------------

I'd certainly favor including instructions (as above) in our official docset, 
and maybe even including artifacts (although there are some concerns about 
additional platform requirements for gcc)  but I'm not entirely convinced that 
it should be the default batch-execution tool 'out-of-the-box'. One needs to 
weight the tradeoffs to decide if there is a net win in a given environment. 
For example, having a warm JVM can be a significant time-saver in doing 
iterative or automated testing, but if one does no development to speak of, and 
rarely runs command-line tools (and when one does, they are in a cron-triggered 
batch in the middle of the night), then it amounts to a 'permanent resource 
tax' of MEGs of memory that aren't used that much, but locked up in the JVM. 
Moreover, if one does not develop some 'best practices' around periodically 
recycling the Nailgun server, there can be permgen leakage issues, etc.

I think it's a great tool - but not a 'one-size-fits-all' JVM management 
solution.

My 2 cents

Richard R


                
> class launcher using running JVM
> --------------------------------
>
>                 Key: DS-1339
>                 URL: https://jira.duraspace.org/browse/DS-1339
>             Project: DSpace
>          Issue Type: Improvement
>            Reporter: Ivan Masár
>
> This issue is to track answers to my question:
> Is it possible/viable to modify the command-line class launcher 
> [dspace]/bin/dspace to connect to a running JVM and run the class there 
> instead of launching a new JVM with the overhead it brings?
> If possible, it would shave off a few seconds of overhead of most dspace 
> commands (I'm aware that some, like index-init must be launched only while 
> DSpace is not running).
> It might also enable other uses, which are currently not viable with the 
> existing tools: e.g. batch-creating users from command line.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122712
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to