Sorry - I didn't see you were using DSpace version 3 - try changing your "JAVA_OPTS" in /bin/dspace to:
JAVA_OPTS="-Xms2048m -Xmx3072m -Xss512k -Dfile.encoding=UTF-8" Pls. let us know if this works for you. Thanks, Sue ------------------------------------------------------------------------ Sue Thornton Office: (757) 224-4130 Mobile: (757) 506-9903 susan.m.thorn...@nasa.gov -----Original Message----- From: mohammadpourf...@gmail.com [mailto:mohammadpourf...@gmail.com] Sent: Friday, July 12, 2013 6:07 AM To: Thornton, Susan M. (LARC-B702)[LITES] Subject: Help in indexing dspace3 Dear Susan, I have a question and i will be grateful if you can help me. When i want to index my dspace 3 with command (dspace index-init or index-init -r -v), I encounter a error: Exception: Java heap space java.lang.OutOfMemoryError: Java heap space ... I tried so much to solve this. I set Java_OPS and catalina in catalina.sh, I tried increasing java memory from control panel (java), I tried environmental path for JAVA_OPS, I changed seach.maxinteger to -1 in dspace.cfg, but i did not get answer. I use xampp and also tried tomcat separately but ... Please if you can help me on this subject. Many thanks for your attention. _____________________________________ Sent from http://dspace.2283337.n4.nabble.com ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk _______________________________________________ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette