Hallo Julius, take a look at: https://wiki.duraspace.org/display/DSDOC5x/Performance+Tuning+DSpace which should be applicable to CRIS too.
Sonnige Grüße Claudia Jürgen Am 18.04.2018 um 14:31 schrieb [email protected]:
hello i experienced the same problem as described in this thread. When trying to create a administrator from the comand line i do get: Using DSpace installation in: c:\crisdspace Exception in thread "main" java.lang.OutOfMemoryError: Java heap space Any dspace command from the command line produces: Using DSpace installation in: C:\crisdspace Exception in thread "main" java.lang.OutOfMemoryError: GC overhead limit exceeded at java.util.Arrays.copyOf(Unknown Source) at java.lang.AbstractStringBuilder.ensureCapacityInternal(Unknown Source) at java.lang.AbstractStringBuilder.append(Unknown Source) at java.lang.StringBuffer.append(Unknown Source) at org.apache.log4j.helpers.PatternParser$LiteralPatternConverter.format(PatternParser.java:419) at org.apache.log4j.PatternLayout.format(PatternLayout.java:506) at org.apache.log4j.WriterAppender.subAppend(WriterAppender.java:310) at org.dspace.app.util.DailyFileAppender.subAppend(DailyFileAppender.java:195) at org.apache.log4j.WriterAppender.append(WriterAppender.java:162) at org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:251) at org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:66) at org.apache.log4j.Category.callAppenders(Category.java:206) at org.apache.log4j.Category.forcedLog(Category.java:391) at org.apache.log4j.Category.log(Category.java:856) at org.slf4j.impl.Log4jLoggerAdapter.log(Log4jLoggerAdapter.java:595) at org.apache.commons.logging.impl.SLF4JLocationAwareLog.info(SLF4JLocationAwareLog.java:155) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingletons(DefaultSingletonBeanRegistry.java:444) at org.springframework.context.support.AbstractApplicationContext.destroyBeans(AbstractApplicationContext.java:1096) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:492) at org.dspace.servicemanager.spring.SpringServiceManager.startup(SpringServiceManager.java:221) at org.dspace.servicemanager.DSpaceServiceManager.startup(DSpaceServiceManager.java:212) at org.dspace.servicemanager.DSpaceKernelImpl.start(DSpaceKernelImpl.java:153) at org.dspace.servicemanager.DSpaceKernelImpl.start(DSpaceKernelImpl.java:128) at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:50) My setup: Windows 10 dspace-cris-6 JDK : 1.8.x Tomcat: 8.x Any hint how this can be solved would be welcomed. Kind regards Julius Am Mittwoch, 15. Februar 2017 11:15:56 UTC+1 schrieb Pascarelli Luigi Andrea:Dear Yen-Tang Chen, cygwin is only a tool to help you in shell scripting, but in this case i think that it added a bit of confusion. In any case if you want use this command line tool follow http://www.inonit.com/cygwin/faq/ In your case edit "dspace" script and replace the last line with: java $JAVA_OPTS -classpath `cygpath -wp $FULLPATH` org.dspace.app.launcher.ScriptLauncher "$@" Regards, Luigi Andrea Il 15/02/2017 06:35, Yen-Tang Chen ha scritto: Dear Luigi Andrea Pascarelli Thank you for all your assistance I have followed your advice that I try to use cygwin create-administrator on the windows 10 It does create-administrator successful I use cygwin mvn package, ant fresh_install that I use cmd create-administrator successful. (dspace create-administrator_001.png) but I cann't use cygwin create-administrator (dspace create-administrator.png) cygwin Error message : Can not find or can not load the main category org.dspace.app.launcher.ScriptLauncher I have no clue. Thank you again for everything you’ve done Sincerely yours, Yen-Tang Chen ************************************************************************************************ Yen-Tang Chen Lib. Information Technology Services Div., NTU Library, http://www.lib.ntu.edu.tw/en office: No. 1, Sec 4, Roosevelt Road, Taipei 10617, Taiwan, R.O.C. TEL:886-2-33662291 EMAIL:[email protected] <javascript:> ************************************************************************************************ -- Luigi Andrea Pascarelli DSpace and DSpace-CRIS Committer 4Science, www.4science.it office: Via Edoardo D'Onofrio 304, 00155 Roma, Italy tel: +39 333 934 1782 skype: l_a_p82 linkedin: luigiandreapascarelli an Itway Group Company Italy, France, Spain, Portugal, Greece, Turkey, Lebanon, Qatar, U.A.Emirates ==================================== Save a tree. Don't print this e-mail unless it's really necessary. DISCLAIMER: The information contained in this message is confidential, can be legally protected by local Laws, and must be exclusively used by the recipient. The publication, use, distribution, printing or unauthorized copy of the content of this message is strictly forbidden and it can be illegal. If you received this message by mistake, please destroy it and notify it to the sender.
-- Claudia Juergen Eldorado Technische Universität Dortmund Universitätsbibliothek Vogelpothsweg 76 44227 Dortmund Tel.: +49 231-755 40 43 Fax: +49 231-755 40 32 [email protected] www.ub.tu-dortmund.de Wichtiger Hinweis: Die Information in dieser E-Mail ist vertraulich. Sie ist ausschließlich für den Adressaten bestimmt. Sollten Sie nicht der für diese E-Mail bestimmte Adressat sein, unterrichten Sie bitte den Absender und vernichten Sie diese Mail. Vielen Dank. Unbeschadet der Korrespondenz per E-Mail, sind unsere Erklärungen ausschließlich final rechtsverbindlich, wenn sie in herkömmlicher Schriftform (mit eigenhändiger Unterschrift) oder durch Übermittlung eines solchen Schriftstücks per Telefax erfolgen. Important note: The information included in this e-mail is confidential. It is solely intended for the recipient. If you are not the intended recipient of this e-mail please contact the sender and delete this message. Thank you. Without prejudice of e-mail correspondence, our statements are only legally binding when they are made in the conventional written form (with personal signature) or when such documents are sent by fax. -- You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/dspace-tech. For more options, visit https://groups.google.com/d/optout.
