Java Server Mode for messenger-service in Windows

I have seen plenty of threads on setting the server mode switch when running under a *nix OS but a cannot find a definitive answer for the windows service.

Thanks in advance

It should use server mode automatically.

Regards,

Matt

In the manager console it displays 64MB available. The server has 2GB installed.

I am running version 2.1.5 on a Windows 2003 server.

for jdk 1.5, on windows with 32 bit processors client vm is the default, server class may not be checked:

http://java.sun.com/j2se/1.5.0/docs/guide/vm/server-class.html

regardless of whether it runs in server or client mode, the default max heap is 64 meg. you can use -Xmx2048m on command line to specify maximum heap of 2 gig. (-Xms is minimum heap if you want to allocate a lot of memory at startup time).

http://java.sun.com/j2se/1.5.0/docs/tooldocs/windows/java.html

i think these are both the same for jdk 1.4.x.

-chip

for jdk 1.5, on windows with 32 bit processors client

vm is the default, server class may not be checked:

That’‘s correct. However, we’'ve configured the startup script to attempt to use the server VM whenever possible.

Also, we wouldn’'t recommend using a heap larger than 1GB.

Regards,

Matt

That’‘s correct. However, we’'ve configured the startup

script to attempt to use the server VM whenever

possible.

gotcha.

Also, we wouldn’'t recommend using a heap larger than

1GB.

is that based on the previous statement that there is only 2 gig on the machine? or because JM shouldn’‘t ever need more than a gig? or is there some hidden message here? just curious, i’‘ve had to set large maximum heap sizes such as 2 gig on VMs of app servers to accomodate peak loads so i’'m curious about the context of your statement.

thx,

-chip

Which startup script must I modify for the Windows Service Application?