This Question is Answered (go to answer)

1,106 Views 7 Replies Last post: Nov 24, 2008 7:37 AM by Todd Getz RSS
Rhuen Bronze 15 posts since
Nov 21, 2008
Currently Being Moderated

Nov 21, 2008 5:33 AM

Openfire and Java Memory [WinXP]

Hy,

 

Sorry 4 Englisch, Iam german, i can read english good, but write xD.

 

Ok...i have downloaded the Openfire Version for Win XP.

Installed at a Win Xp Prof. Client.

Configurate...and it Works.

 

But the Java Memory has 12,05 MB of 63,31 MB (19,0%) used

a little bit small.

 

I Search at google and so on but i dont find a answer for the XP Version, Only for Linux i found help, but i dont use linux.

 

Have anyone a Idea how i can change the Java memory?!I need a little bit more .

 

thx.

dsl.gene Bronze 3 posts since
Nov 17, 2008
Currently Being Moderated
Nov 21, 2008 6:28 AM in response to: Rhuen
Re: Openfire and Java Memory [WinXP]

Try this link it worked for me.  I am using Openfire 3.6.0a.

 

http://www.igniterealtime.org/community/message/151499

Todd Getz KeyContributor 3,300 posts since
Apr 2, 2007
Currently Being Moderated
Nov 21, 2008 7:01 AM in response to: Rhuen
Re: Openfire and Java Memory [WinXP]

I am going to give you more information than you asked for.  First configure openfire to run as a service:

 

If you're running Openfire on Windows, you will likely want to run Openfire as a standard Windows service after initial setup. If you used the Windows installer, a openfire-service.exe file will be in the bin directory of the installation. You can use this executable to install and control the Openfire service.

From a console window, you can run the following commands:

  • openfire-service /install -- installs the service.
  • openfire-service /uninstall -- uninstalls the service.
  • openfire-service /start -- starts the service
  • openfire-service /stop -- stops the service.

 

 

After this create the file that will adjust the memory for java:

 

Advanced users may wish to pass in parameters to the Java virtual machine (VM) to customize     the runtime environment of Openfire. You can do this by creating vmoptions files in the bin/     directory of your Openfire installation. For the Windows service, you'd create a new text     file called openfire-service.vmoptions. Each parameter to the VM should be on a new line of     the file. For example, to set the minimum heap size to 512 MB and max VM heap size to 1024 MB, you'd use:

-Xms512m
-Xmx1024m

To create parameters for the normal launcher, create a file called openfired.vmoptions (since     the openfire.exe launcher invokes the openfired.exe executable to actually start the server).

 

I use a window opensource program called notepad ++ to create/edit all settings files for openfire.

LG KeyContributor 5,452 posts since
Dec 13, 2005
Currently Being Moderated
Nov 24, 2008 3:29 AM in response to: Rhuen
Re: Openfire and Java Memory [WinXP]

Hi Rhuen,

 

" The database is already in use by another process:" means that Openfire is still running. Look for java processes in the task manager and try to kill them or reboot your computer.

 

LG

Todd Getz KeyContributor 3,300 posts since
Apr 2, 2007
Currently Being Moderated
Nov 24, 2008 7:37 AM in response to: Rhuen
Re: Openfire and Java Memory [WinXP]

Don't forget to award points for correct/helpful answers.

More Like This

  • Retrieving data ...

Bookmarked By (0)