メモリ容量拡張の設定方法

(from osdn.net/users/noguis)
お世話になります。

ファイルサーバの検索性向上のためFESSの環境構築をしています。
現在、クロールに失敗することが多々あります。
ログファイルからメモリエラーが起きていることが分かったため
以下のサイトを参考にしてメモリ容量を拡張を試みましたが
setenv.bat fess.dicon のどこをどのように修正すればよいかわかりません。
http://fess.osdn.jp/ja/3.0/config/memory-config.html

詳しい修正方法を教えて頂きたいです。
参考情報としてPC環境とエラーログを添付します。

■PC環境
OS:Windows7 64bit
メモリ:8GB
FESS:9.4.0

■エラーログ

Exit Code: 1
Output:
Processed: D:/○○/fess/fess-server-9.4.0/webapps/fess/WEB-INF/db/robot.mv.db
Exception in thread “MVStore background writer nio:D:/○○/fess/fess-server-9.4.0/webapps/fess/WEB-INF/db/robot.mv.db” java.lang.OutOfMemoryError: Java heap space
at org.h2.value.Value.cache(Value.java:367)
at org.h2.value.ValueTimestamp.fromDateValueAndNanos(ValueTimestamp.java:65)
at org.h2.mvstore.db.ValueDataType.readValue(ValueDataType.java:481)
at org.h2.mvstore.db.ValueDataType.readValue(ValueDataType.java:540)
at org.h2.mvstore.db.ValueDataType.read(ValueDataType.java:169)
at org.h2.mvstore.db.TransactionStore$VersionedValueType.read(TransactionStore.java:1650)
at org.h2.mvstore.Page.read(Page.java:843)
at org.h2.mvstore.Page.read(Page.java:230)
at org.h2.mvstore.MVStore.readPage(MVStore.java:1803)
at org.h2.mvstore.MVMap.readPage(MVMap.java:769)
at org.h2.mvstore.Page.getChildPage(Page.java:252)
at org.h2.mvstore.MVMap.rewrite(MVMap.java:860)
at org.h2.mvstore.MVMap.rewrite(MVMap.java:860)
at org.h2.mvstore.MVMap.rewrite(MVMap.java:815)
at org.h2.mvstore.MVStore.compactRewrite(MVStore.java:1688)
at org.h2.mvstore.MVStore.compact(MVStore.java:1590)
at org.h2.mvstore.MVStore.writeInBackground(MVStore.java:2337)
at org.h2.mvstore.MVStore$BackgroundWriterThread.run(MVStore.java:2527)
Exception in thread “MVStore background writer nio:D:/○○/fess/fess-server-9.4.0/webapps/fess/WEB-INF/db/robot.mv.db” java.lang.OutOfMemoryError: Java heap space
Exception in thread “Robot-20160120000000-1-4” java.lang.OutOfMemoryError: Java heap space
Exception in thread “Robot-20160120000000-3-2” java.lang.OutOfMemoryError: Java heap space
Exception in thread “Robot-20160120000000-3-1” java.lang.OutOfMemoryError: Java heap space
Exception in thread “IndexUpdater” java.lang.OutOfMemoryError: Java heap space
Exception in thread “Robot-20160120000000-3-5” java.lang.OutOfMemoryError: Java heap space
Exception in thread “Robot-20160120000000-3” java.lang.OutOfMemoryError: Java heap space
Exception in thread “Robot-20160120000000-2-2” java.lang.OutOfMemoryError: Java heap space
Exception in thread “Robot-20160120000000-1” java.lang.OutOfMemoryError: Java heap space
Exception in thread “Robot-20160120000000-2” java.lang.OutOfMemoryError: Java heap space
Exception in thread “WebFsCrawler” java.lang.OutOfMemoryError: Java heap space
Exception in thread “Thread-5” java.lang.OutOfMemoryError: Java heap space

(from osdn.net/users/fess_user)
-Xmx1024mをひたすら上げれば良いのでは。
-Xmx4096mとか・・・

(from noguis's Profile - OSDN)
[メッセージ #77548 への返信]

-Xmx1024mをひたすら上げれば良いのでは。
-Xmx4096mとか・・・

ありがとうございます。
エラーが解消しました。