This content has been marked as final. Show 8 replies
I suggest to upgrade to 10.1.3.3 via the patch on metalink.
Check also your server settings via Enterprise Manager. How much memory you gave to the OC4J instance. I suggest to set this to min and max 512 MB (setting -Xms512m -Xmx512m)
I already have the 10.1.3.3 version. I have checked the enterprise manager and I have the following values for the OC4J instance:
Maximum heap size=1024M
Initial heap size=512M
In the initial page of the enterprise manager I have the following data:
oc4j_soa cpu(%)=17.61 Memory (MB)=347.78
Could you tell me if this is correct? what do I have to change?
Also, I forgot to say, that when I deploy this process from jdeveloper i have no problems.
Strange. I assume you have enough memory on the server? What is happening further on that machine?
How much memory do I need on the server? I mean, right now, I'm trying to deploy in my personal computer which has 2GB of RAM.
About the second question: "What is happening further on that machine?" I don't know what you mean, it happens nothing. I get the error when trying to deploy and after that I can continue working with other things, this is, the computer doesn't fail or anything.
Thanks for your help, I really need it...
You where saying that deplying from JDeveloper is fine, i assume then that you are building your project with ant from the command line? In that case changing the memory settings of the application server will not help, .... you need to change the memory settings of your ant settings.
How do I change my ant settings? I'm using the ant located in the soa suite instalation path (D:\product\10.1.3.1\OracleAS_1\ant)
Thanks a lot!
If you run ant on windows you are actually running ant.bat. That file appends any options set in the ANT_OPTS parameter. If you run 'set ANT_OPTS=-Xmx512m' from the commandline (or add it to your environment) before running ant you should be ok. Maybe you also have to add -Xms<size> to set the initial heap size alongside the maximum heap size.
I did set ANT_OPTS=-Xmx512m and now it does work on my computer.
Now I'm trying in a virtual machine and get another memory error but I guess is because of the virtual machine memory settings. I'll keep trying.
Thank you very much for your help!