[MOBY-guts] biomoby commit

Eddie Kawas kawas at dev.open-bio.org
Wed Jul 18 18:55:07 UTC 2007


kawas
Wed Jul 18 14:55:07 EDT 2007
Update of /home/repository/moby/moby-live/Java/src/support/rdfagent
In directory dev.open-bio.org:/tmp/cvs-serv29192/Java/src/support/rdfagent

Modified Files:
	run-RDFagent.bat run-RDFagent 
Log Message:
added more heap space to the scripts that call the agent
moby-live/Java/src/support/rdfagent run-RDFagent.bat,1.8,1.9 run-RDFagent,1.6,1.7
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/support/rdfagent/run-RDFagent.bat,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- /home/repository/moby/moby-live/Java/src/support/rdfagent/run-RDFagent.bat	2006/10/17 14:23:15	1.8
+++ /home/repository/moby/moby-live/Java/src/support/rdfagent/run-RDFagent.bat	2007/07/18 18:55:07	1.9
@@ -8,8 +8,10 @@
 set JAVA_HOME=C:/Java/jdk1.5.0_05
 set AGENT_HOME=C:/moby-live/Java/docs/dist/rdfagent
 
+rem this line here to add more heap space
+set JAVA_OPTS=-Xmx256m
 
-%JAVA_HOME%\bin\java -DRDFagent.home="%AGENT_HOME%" -jar "%AGENT_HOME%RDFagent.jar" %1 %2
+%JAVA_HOME%\bin\java %JAVA_OPTS% -DRDFagent.home="%AGENT_HOME%" -jar "%AGENT_HOME%RDFagent.jar" %1 %2
 if %ERRORLEVEL%==0 GOTO DONE
 
 goto ERROR

===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/support/rdfagent/run-RDFagent,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- /home/repository/moby/moby-live/Java/src/support/rdfagent/run-RDFagent	2006/03/02 16:41:02	1.6
+++ /home/repository/moby/moby-live/Java/src/support/rdfagent/run-RDFagent	2007/07/18 18:55:07	1.7
@@ -12,8 +12,8 @@
 # please set the following paths
 JAVA_HOME=/usr/local/jdk1.5.0_03
 RDF_AGENT_HOME=/path/to/home/dir/of/rdfagent
-
-$JAVA_HOME/bin/java -DRDFagent.home=$RDF_AGENT_HOME -jar $RDF_AGENT_HOME/RDFagent.jar $*
+JAVA_OPTS=-Xmx256m
+$JAVA_HOME/bin/java $JAVA_OPTS -DRDFagent.home=$RDF_AGENT_HOME -jar $RDF_AGENT_HOME/RDFagent.jar $*
 # did the agent die unexpectedly?
 check_errs $?
 




More information about the MOBY-guts mailing list