The amount of memory allocated for jLog can be increased by editing the Maximum (-Xmx) and Minimum (-<Xms) memory allocation values as follows:
Ctrl-click on jLog in the Applications folder (or wherever you have placed it) and select 'Show Package Contents'. A new Finder window opens. Open (double-click) 'Contents'.
1) If you have the Property List Editor available, you can double-click the 'Info.plist' file. Open 'Root' and then the 'Java' node. Double-click on the value for the 'VMOptions' entry. Set the maximum (-Xmx) to e.g. 384 Mbytes (replace 384 with any number, e.g.: 256, 384, 512, 768, 1024):
-Xmx384m -Xms16m (may be specified as a two-line array)
2) If you do not have the Property List Editor installed, you can edit the file in a text editor (be careful). Locate <key>VMOptions</key> and change the values as follows:
<key>VMOptions</key>
<array>
<string>-Xms16m</string>
<string>-Xmx384m</string>
</array>
or
<key>VMOptions</key>
<string>-Xms16m -Xmx384m</string>
Save the changes.
As a guidance: -Xmx512 may be needed for 50.000 entries, -Xmx1024 for 90.000 entries, etc.
To go beyond 25 000 - 30 000 entries, the amount of memory allocated for jLog must be increased by editing the Java VM Maximum (and optionally also Minimum) memory allocation values as follows:
#
LAX.NL.JAVA.OPTION.JAVA.HEAP.SIZE.MAX
# -------------------------------------
lax.nl.java.option.java.heap.size.max=128000000
If you get a memory failure, try to increase the numbers to e.g. 192000000 or more (depending on the amount of memory in your computer). You may want to experiment with this figure if jLog appears to have delays. You may try with smaller or bigger numbers and observe the speed changes...
Save the changes and restart jLog.
The same procedure applies for 'min' (increasing it may decrease loading time when logs are large).