Sidebar

How much memory can I allocate to QIE on the 32 bit versus 64 bit version?

0 votes
4.0K views
asked Mar 9, 2015 by gary-t-8719 (14,860 points)

1 Answer

0 votes

When choosing the 32 bit version or 64 bit version of QIE it is important to remember to match it with the same Java version either 32 bit or 64 bit.

The 32 bit version of Java is limited to a maximum of 2 GB and since Java will consume approximately 500 MB of the 2 GB QIE would be limited to a maximum of 1.5 GB and in reality you may only be able to allocate about 1.2 to 1.4 GB depending on you environment.

The 64 bit version of Java does not have a maximum memory therefore more memory can be allocated to QIE as needed. Note: As a general rule it would not be advised to allocate more memory to the Java Virtual Machine (JVM) than is available on the Host OS.

To allocate more memory to QIE/JVM navigate to the QIE Service Manager from the start menu on the QIE Server and then select the startup tab and look for the -Xmx value under the Arguments. You can then change this value to the desired amount of memory (taking into consideration the version of Java) desired. This value can be expressed in MB (e.g. -Xmx1024m) or GB (e.g. -Xmx1g).

answered Mar 9, 2015 by gary-t-8719 (14,860 points)
edited Feb 26, 2018 by amanda-w-3695
commented Oct 16, 2018 by josh-c-1545 (120 points)
How do I change the memory allocation on linux?
commented Oct 16, 2018 by gary-t-8719 (14,860 points)
You will want to find the start.sh file and within that file you will find the same argument of -Xmx. This file is usually located in /java/qie/start.sh
commented Oct 16, 2018 by josh-c-1545 (120 points)
Thanks. I only have a start.sh.dist file. Is that the same? What's the difference between updating in start.sh and updating the same field in qie.service? We found the latter while attempting to solve this on our own.
commented Oct 16, 2018 by gary-t-8719 (14,860 points)
If you are not using Upstart which is the default service manager in older Linux builds then you most likely using systemd. The systemd configuration is found in /java/qie/qie.service. If you make a change to the qie.service you will want to make sure you follow the daemon-reload steps outlined in the readme.txt file found in the QIE distribution zip file or /java/qie folder.
...