You are not logged in.

#1 2009-07-20 07:12:17

CJ Master
Member
Registered: 2009-07-20
Posts: 3

[SOLVED] Giving java applets more RAM

Hello all.

How do I allow java applets more memory? In Ubuntu there was an option in the menu to configure java, but it's missing on Arch.

Using Arch64, KDEmod, KDE 4.3, Firefox 3.5.

Last edited by CJ Master (2009-07-21 03:01:49)

Offline

#2 2009-07-20 19:24:37

CJ Master
Member
Registered: 2009-07-20
Posts: 3

Re: [SOLVED] Giving java applets more RAM

I looked and didn't see any rules about bumping... so... hope this is legal. =P

Offline

#3 2009-07-20 22:36:58

darie
Member
From: LE | .de
Registered: 2009-04-22
Posts: 16

Re: [SOLVED] Giving java applets more RAM

I'm assuming you're using JRE/JDK:

You should have somewhere an entry called "Java Control Panel". Because I'm using Gnome I can't tell you where you find it in the KDE menu :-/
When you open the control panel goto "Java" -> click on "View" -> double-click on "Runtime Parameters" and add -XmxN where N is something like 128M, 256M, 512M .... or whatever you want. The manualpage of java describes it in the following way: (and better than I ;)
-Xmxn
Specify the maximum size, in bytes, of the memory allocation pool. This value must a multiple of 1024 greater than 2MB. Append the letter k or K to indicate kilobytes, or m or M to indicate megabytes. The default value is chosen at runtime based on system configuration.

If you don't find the "Java Control Panel" entry in your KDE menu try to execute /opt/java/bin/jcontrol from the shell (that's what started here by the entry). I hope this helps. :-)

Last edited by darie (2009-07-20 22:38:37)

Offline

#4 2009-07-20 23:42:34

linkmaster03
Member
Registered: 2008-12-27
Posts: 269

Re: [SOLVED] Giving java applets more RAM

Execute /opt/java/jre/bin/jcontrol.

Offline

#5 2009-07-21 03:01:36

CJ Master
Member
Registered: 2009-07-20
Posts: 3

Re: [SOLVED] Giving java applets more RAM

Thank you, it worked. =]

Offline

Board footer

Powered by FluxBB