Results 1 to 3 of 3
Thread: Deploying xmx heap size setting
- 08-17-2012, 12:17 PM #1
Member
- Join Date
- May 2012
- Posts
- 9
- Rep Power
- 0
Deploying xmx heap size setting
Hi, Im an IT Manager looking after a number of computers. The firms staff have a lot of problems with the java runtime reaching the default maximum heap size and their browser windows ground to a halt.
From the windows control panel I have set a -xmx1024m command to increase the maximum heap size which has helped, however, I do not want to run around to everyone elses pc in order to set this - not lazy, just trying to be efficient honest!
Ideally I want to deploy this xmx setting over the network, either via group policy, batch file at login time or registry key - does anyone know how to do this?
I have tried customising the Application Data\Sun\Java\Deployment\deployment.properties file without much success.
Any ideas?
Thanks, Damen
- 08-17-2012, 01:34 PM #2
Moderator
- Join Date
- Apr 2009
- Posts
- 10,438
- Rep Power
- 16
Re: Deploying xmx heap size setting
Since you're talking about browsers, I'm guessing these are applets.
Assuming (again) that you are on 1.6 u10 or higher you can specify the memory to use for a particular applet in the applet tag.
Here's the docs for it all.
That would be my solution.Please do not ask for code as refusal often offends.
- 08-20-2012, 12:52 PM #3
Member
- Join Date
- May 2012
- Posts
- 9
- Rep Power
- 0
Re: Deploying xmx heap size setting
Hi, thanks for that
I've asked the developer to add
<PARAM name="java_arguments" value="-Xmx512m -Dsun.java2d.noddraw=true">
This loads the login screen up correctly so I guess the runtime must still be working, however is there a command I can run from the users desktops to see if the max heap size value has actually changed? At the moment I do not know if it has or not and the java console does not say anything useful.
Thanks, Damien
.
Similar Threads
-
Heap size
By newbiejava in forum New To JavaReplies: 2Last Post: 08-22-2010, 11:59 AM -
get maximum heap size that can be allocated
By gautam.aditya97 in forum Java 2DReplies: 3Last Post: 04-05-2010, 05:03 AM -
Setting frame size to the size of an image
By Yoruichi in forum AWT / SwingReplies: 5Last Post: 04-22-2009, 04:37 PM -
Java heap size
By jmdrocks in forum EclipseReplies: 2Last Post: 12-12-2008, 06:10 AM -
setting JVM Heap sitze
By Java Tip in forum Java TipReplies: 0Last Post: 11-09-2007, 04:21 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks