Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

aspire_max_heap_memory
no2gMaximum Heap the JVM will request and use from the host system
aspire_max_metaspace_size
no256mMaximum metaspace the JVM will request and use from the host system.


In windows Windows based systems if using the aspire.bat file, the memory usage should be changed in the aspire.bat itself.

Code Block
languagepowershell
themeMidnight
titleaspire.bat
linenumberstrue
@echo off
rem ensure environment variables only exist in this space
setlocal ENABLEDELAYEDEXPANSION

rem **************************************************************************************************
rem * set the "useful" option at the top of the script for ease of changing (even if they won't be used)

rem Initial Java heap size in MegaBytesMegabytes
set JAVA_INITIAL_MEMORY=1024

rem Maximum  Java heap size in MegaBytesMegabytes
set JAVA_MAX_MEMORY=2048

rem Maximum Java Permanent Generation Size (Java 1.7 and below) or Java Metaspace Size (Java 1.8 and above)  in MegaBytesMegabytes
set JAVA_MAX_META_MEMORY=512

rem Set any other java options
set JAVA_OPTIONS=-Dfile.encoding=UTF-8
...


Otherwise, if it is running as a Windows Service:

...