Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

CLM 4.0: Running in Apache Tomcat as a Windows service (64-bit)

Following the instructions in the 4.0 InfoCenter, my tomcat Windows service will not start.  The tomcat-stderr.<date>.log file states

JVMJ9GC019E -Xmn too large for -Xms
JVMJ9VM015W Initialization error for library j9gc24(2): Failed to initialize

Comparing the 4.0 InfoCenter instructions to the 3.0.1 InfoCenter instructions, I noticed the following Java Options have been added:

-Xmx4g
-Xms4g
-Xmn512m
-Xgcpolicy:gencon
-Xcompressedrefs
-Xgc:preferredHeapBase=0x100000000 
Removing those options allowed my Tomcat service to start successfully.  What might be the concequences of removing those options?


2

0 votes

Comments

The -Xmn and -Xms settings as well as the preferredHeapBase have to do with the minimum and maximum values for the heap as well as the start of the heap in the virtual address space. So, the potential consequence is that your server may run out of available heap or native memory space.

Is this a 32-bit or 64-bit Windows OS and how much memory does it have? (this may help in determining how you may need to tweak those values for your system)



3 answers

Permanent link
I agree it looks like the article needs some additional information.  I have opened Settings in 64-bit windows tomcat as a service do not work for 4G server (minimum memory system) (215050)

I would suggest you omit the following options (from the list in the help topic).  This should allow you to run with the amount of memory you have.
-Xgc:preferredHeapBase=0x100000000
-Xmn512m
You could experiment with changes to -Xmx/ms if you need to further restrict the heap size based on your system usage.

3 votes


Permanent link
Hi, James,

This is a 64-bit virtual machine given 4GB RAM.  I will do some research into these settings to see what would be appropriate.  It seems to me that the InfoCenter should describe them somewhat and provide some suggestions, especially if the recommended values are incompatible with each other as the error message seems to imply.

Thanks.

0 votes


Permanent link
James - thanks for the attention.  My system is just a test machine so at this point I don't need to optimize for performance or scalability, however I do agree that the infocenter topic should provide more guidance and should provide a valid set of options for all supported systems, even if they are on the low end of the range.

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 7,501

Question asked: Jun 15 '12, 10:21 a.m.

Question was seen: 14,677 times

Last updated: Jun 18 '12, 2:09 p.m.

Confirmation Cancel Confirm