| Re: OAS -- not starting for OTM V5.5 CU4 I have a further comment to the original problem, the JVM not starting. I had the same problem on a Win32 box, but the ms and mx parameters where set correctly to 1024m, and enough physical memory available.
It turned out that the JVM throws that error even on a one-line "Hello world" java class started from the command line if started with -XX:MaxPermSize=384m and the other parameters.
Sun's comment on the -XX parameters does not give much, apart from that they might change anytime.
It seems that Win32 has a size limitation on the memory one DLL can allocate. All the specified memory requests together might not be fulfilled, regardless of the installed and apparently free memory.
To get things going, I changed the following lines from %otm%\oas\bin\oc4j.conf:
wrapper.java.additional.2=-Xms512m
wrapper.java.additional.3=-Xmx820m
wrapper.java.additional.8=-XX:MaxPermSize=384m
wrapper.java.additional.9=-XX:NewSize=256m
wrapper.java.additional.10=-XX:MaxNewSize=256m
After that, the service does start.
I know that these tuning parameters are there for a reason, but I am currently setting up a pure test and evaluation box, so the last few percent of performance are not the primary interest. For a production environment, one would certainly want to dig further into the issue.
These values might very well depend on the specific circumstances - I basically tried them out. As far as I understood the JVM docs, MaxPermSize is the most important, as it does govern how many classes can be loaded.
Last edited by svenhaul : March 19th, 2008 at 13:23.
|