Sun. Oct 24th, 2021

Requirement: By default, the WebLogic Server get installed while installing the JDeveloper. The memory associated is very low. So, when we deploy big application for few times without restarting the server, it shows memory not sufficient problem. So, here in this post, I will show how we will increase the memory so that we can deploy the application without memory issues for several time based on the memory available. Hence, it will give us the ability to deploy more number of times without restarting the server, and hence it will improve the performance as well.

Solution: To increase the memory follow the below steps as shown below:

Step 1: Locate the setDomainEnv.cmd file in the below location:


Step 2: Open the setDomainEnv.cmd file and paste the below line of code to increase the memory, just after the comment line:

set USER_MEM_ARGS=-Xms512m -Xmx2048m -XX:MaxPermSize=1024m

Step 3: Locate the ide.conf file in the below location: C:\Oracle\Middleware\Oracle_Home_New\jdeveloper\ide\bin. Now change the values of AddVMOption -Xms and AddVMOption -Xmx to AddVMOption -Xms1024M AddVMOption -Xmx2048M

Step 4: Close and open JDeveloper to run the application.

The memory assigned is displayed in JDeveloper’s console each time the embedded WebLogic starts.

Hence, the solution to our requirement.

If you like the post please comment, share, and do join me on Facebook. Please subscribe to my YouTube Channel for video tutorials.

Thanks & Regards,
Susanto Paul

 458 total views,  2 views today

By Susanto Paul

Susanto is an Oracle ACE, a qualified MCA, MBA, and a highly-skilled Senior Oracle Specialist. He is an enthusiastic Blogger and YouTuber who helps learners to solve their complex problems more efficiently. He has 9+ years of experience in multiple technologies like AWS, Oracle ADF, Oracle APEX, Oracle JET, Oracle VBCS, Oracle IDCS, Oracle PL/SQL, Oracle Integration Cloud, Java, JDBC, Servlets, JSP, Spring, Hibernate, HTML5, CSS3, JavaScript, TypeScript, NodesJS, Angular, MySQL, Oracle WebLogic Server, JUnit, JMeter, Selenium Web Driver, etc. He is a certified: Oracle Certified Professional Java SE 6 Programmer, Oracle ADF 11g Certified Implementation Specialist, Oracle Cloud Platform Application Integration 2020 Certified Specialist, Oracle Cloud Infrastructure Foundations 2020 Certified Associate, and Oracle Cloud Infrastructure Developer 2020 Certified Associate

Leave a Reply

Your email address will not be published. Required fields are marked *