Revision: 17094
          http://sourceforge.net/p/gate/code/17094
Author:   adamfunk
Date:     2013-11-14 15:21:56 +0000 (Thu, 14 Nov 2013)
Log Message:
-----------
Adding a section to document the unified launch options.

Modified Paths:
--------------
    userguide/trunk/gettingstarted.tex
    userguide/trunk/misc-creole.tex

Modified: userguide/trunk/gettingstarted.tex
===================================================================
--- userguide/trunk/gettingstarted.tex  2013-11-14 15:17:48 UTC (rev 17093)
+++ userguide/trunk/gettingstarted.tex  2013-11-14 15:21:56 UTC (rev 17094)
@@ -116,8 +116,10 @@
 You can browse the complete Subversion repository online at\\
 \htlinkplain{https://sourceforge.net/p/gate/code/HEAD/tree/}.
 
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 \subsect[sec:gettingstarted:runonlinux]{Running GATE Developer on Unix/Linux}
-
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
 The script \verb|gate.sh| in the directory \verb|bin| of your installation
 can be used to start GATE Developer. You can run this script by entering
 its full path in a terminal or by adding the \verb|bin| directory to your 
@@ -282,6 +284,46 @@
 \texttt{./bin/gate.sh -Dgate.class.path=/shared/lib/myclasses.jar}
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\sect[sec:gettingstarted:launchconfig]{Changing GATE's launch configuration}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+With effect from build 4723 (13 November 2013), all the JVM and GATE launch
+options can be set in the \texttt{gate.l4j.ini} file on all platforms, as well
+as by using options to the \texttt{gate.sh} command.  
+
+The \texttt{gate.l4j.ini} file supplied by default with GATE simply sets two
+standard JVM memory options:
+%
+\begin{verbatim}
+-Xmx1G
+-Xms200m
+\end{verbatim}
+%
+\texttt{-Xmx} specifies the maximum heap size in megabytes (\texttt{m}) or
+gigabytes (\texttt{g}), and -Xms specifies the initial size. Other parameters 
of
+interest are \texttt{-XX:MaxPermSize=128m} for the "permanent generation", 
which
+you may wish to specify if you are getting OutOfMemoryErrors that say "PermGen
+space".
+
+
+
+Note that the format consists of one option per line.  All the properties 
listed
+in Section~\ref{sec:gettingstarted:sysprop} can be configured here by prefixing
+them with \texttt{-D}, e.g., 
\texttt{-Dgate.user.config=path/to/other-gate.xml}.
+
+
+Proxy configuration (see Section~\ref{sec:misc-creole:proxy}) can now be set in
+this file by adding these lines and editing them as needed for your
+configuration.
+%
+\begin{verbatim}
+-Drun.java.net.useSystemProxies=true  
+-Dhttp.proxyHost=proxy.example.com  
+-Dhttp.proxyPort=8080  
+-Dhttp.nonProxyHosts=*.example.com 
+\end{verbatim}
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 \sect[sec:gettingstarted:gateconfig]{Configuring GATE}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 

Modified: userguide/trunk/misc-creole.tex
===================================================================
--- userguide/trunk/misc-creole.tex     2013-11-14 15:17:48 UTC (rev 17093)
+++ userguide/trunk/misc-creole.tex     2013-11-14 15:21:56 UTC (rev 17094)
@@ -1902,8 +1902,11 @@
   Proxies} documentation\footnote{see
   \url{http://docs.oracle.com/javase/6/docs/technotes/guides/net/proxies.html}}
 for further details of proxy configuration in Java, and see 
-section~\ref{sec:gettingstarted:sysprop} for a fuller explanation of system
-properties in GATE and using the \texttt{build.properties} file.
+section~\ref{sec:gettingstarted:sysprop}.
+
+With effect from build 4723 (14 November 2013), the proxy and other options can
+be configured in the \texttt{gate.l4j.ini} file on all platforms, as explained
+in Section~\ref{sec:gettingstarted:launchconfig}.
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 \sect[sec:misc-creole:wn]{WordNet in GATE}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs

Reply via email to