Thursday Mar 27, 2014

Tip: Set JVM Heap Size with 32b and 64b JVMs

Hi all,

I wanted to share a tip I learned about the hard way recently.   If you are using AutoVue with large 3D models it is often valuable to increase the maximum heap size available to the AutoVue client. 

However, this can be unexpectedly tricky if you have both 32b and 64b Java virtual machines installed - the traditional way to do it is to select Java from the windows control panel and set the heap size there.   However if you have both 32b and 64b JVMs installed, that control panel will only give access to the 64b JVMs - you won't be able to change the 32b JVM settings there.

If you are running a browser that is 32b - you will need to change the 32b JVM settings - and the way to do this is slightly counter-intuitive. In the 64b java control panel accessed through the windows control panel, go to the Advanced tab, and scroll to the very bottom and turn on "Place Java icon in system tray".  
Screenshot - place java in system tray
Then start AutoVue the way you do normally.   You should see a Java icon appear in the windows sytem tray at the bottom of your screen. 

Screenshot - System Tray

Right click on that icon, and select  'Open Control Panel' - from here if you change the heap size parameters it will do it for the JVM that is actually running AutoVue.

Screenshot - Java Environment Settings

If you want to be completely sure whether you are setting the parameters for the 32b or 64b version - look at the "Path" field of the "Java Runtime Environment" settings - if you see "Program Files (x86)" then it is the 32b version.


Hope this helps!!

About

The authors of this blog are members of the AutoVue Enterprise Visualization team at Oracle. The views expressed on this blog reflect those of the members and do not necessarily reflect the views of Oracle.

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today