Memory Configuration
Querying for large resultsets may cause ADS to run out of memory or to run low on memory. The user may need to
increase memory limit for Aqua Data Studio and restart the application. As a Java application, Aqua Data Studio
is limited to the memory allocated to the JVM at startup. You may change your setting according to the
Operating System you are working on.
Windows
-
Windows EXE execution
In your installation directory (default: "C:\Program Files\Aqua Data Studio") there is a file called
datastudio.cfg which contains JVM parameters for startup. In this file you may modify the 3rd line which starts
with "-Xmx256M ...", where '256' is equal to the amount of memory allocated to Aqua Data Studio.
You can change this number to increase your memory to 512MB, 1024MB or larger. Once you have made your changes,
restart Aqua Data Studio.
-
Windows .bat execution
In your installation directory there are two files called datastudio-bundled.bat and datastudio.bat which are
used to start Aqua Data Studio. In either of these files modify the last line which starts with "java -cp ..."
or ".\jre\bin\java -Xmx256M ...", where '256' is equal to the amount of memory allocated to Aqua Data Studio.
You can change this number to increase your memory to 512MB, 1024MB or larger. Or add the option if it doesn't
exist. Once you have made your changes, restart Aqua Data Studio.
Linux
-
Linux Application
In your installation directory there are two files called datastudio-bundled.sh and datastudio.sh which are
used to start Aqua Data Studio. In either of these files modify the last line which starts with "java -cp ..."
or ".\jre\bin\java -Xmx256M ...", where '256' is equal to the amount of memory allocated to Aqua Data Studio.
You can change this number to increase your memory to 512MB, 1024MB or larger. Or add the option if it doesn't
exist. Once you have made your changes, restart Aqua Data Studio.
OSX
-
OSX Double Clickable Application
The OSX double-clickable application is actually a directory structure with an extension of ".app". You may modify
the files in this directory structure by right-clicking on the Aqua Data Studio icon and selecting "Show Package Contents"
where you can browse to edit Contents/Info.plist with TextEdit. This file is an XML file containing startup parameters for
Aqua Data Studio. To change or increase the memory add the following XML tags in the tags right before the
MainClass where '256' is the amount of memory you want for Aqua Data Studio. Example ...
...
VMOptions
-Xmx256m
MainClass
com.aquafold.datastudio.DataStudio
JVMVersion
1.5+
...
OSX Unix Application
In your installation directory there is a file called datastudio.sh which is used to start Aqua Data Studio.
In this file modify the last line which starts with "java -cp ...", where '256' is equal to the amount of
memory allocated to Aqua Data Studio. You can change this number to increase your memory to 512MB, 1024MB or
larger. Or add the option if it doesn't exist. Once you have made your changes, restart Aqua Data Studio.
|