I am trying to change the GC strategy from Generational Parallel Mark & Sweep to Generational Concurrent Mark & Sweep for Financial Reporting server and unable to do so...
Can anyone please let me know the steps on how I can change the GC strategy and enable the GC logging for Financial Reporting so that we can understand the OOM issue?
I will certainly go through the link that you have posted, but I am still not sure at to how we can set these options for Financial Reporting.
We tried modifying the settings in setDomainEnv.cmd file but it seems that the parameters written in the setDomainEnv file are getting overwritten by some other parameters.
So what I am trying to ask here is - is there a specific file which can be used to set the GC strategy and also enable the GC collection log?
I tried the following per the documentation --
<li> Created a new Registry key JVMOption47 and assigned the value: -Xgc:gencon
<li> Created a new Registry key JVMOption48 and assigned the value: -Xverboselog:C:\Oracle\gclog.txt
Even after mentioning the registry settings the Garbage collection strategy is not getting changed to Generational concurrent and also the gclog.txt is not getting created.
Is there something wrong in the above process??
Hope you have incremented JVMOptioncount as well.
alternately You could try changing in setcustomparamsfinancialreporting.cmd and start FR using start script and see?
Edited by: Sriram Ayyagari on May 24, 2013 8:44 AM
If you start using startFinancialReporting.bat this will start using the windows service and will ignore setCustomParamsFinancialReporting.bat
As it looks like you are starting using the windows service and updating JVMOptionCount remember it is set as hexadecimal by default when you increment
Thanks for that update :)
I tried creating a New String value in the registry editor as JVMOption47 and JVMOption48 and mentioned the parameters as mentioned above. And I start my service using the windows services console, which I believe uses the startFinancialReporting.bat file?
Is there something wrong in the process? Because even after specifying the registry keys it is not changing the GC strategy and neither it is generating the logs.
Sriram: Yes, I did increment the JVMOptionCount value...we had the values till 46 in the registry for FR. How do I use the service using the setCustomParamsFinancialReporting.bat file?
Sorry I was not able to get what you were trying to say earlier..but I now understand what you had to say..
I did not update the JVMOptionCount value even after applying the registry changes and hence it was not applying the settings that were mentioned in registry.
I updated the JVMOptionCount value and it changed the GC strategy for Financial Reporting.
Thanks a lot..You are a savior..!! Thanks once again. :)