Fri. Apr 23rd, 2021

Requirement: Proactively Monitoring the Heap Memory in JDeveloper IDE

We can continuously monitor the Consumed Heap and Perm Gen memory in JDevloper IDE during runtime. It will show us the consumed memory and also allow us to clear the memory when required.

Whenever we are running JDeveloper IDE in low configuration system or less powerful hardware, the developer could force the Garbage Collection, just before entire memory is consumed by JDeveloper and JDeveloper starts freezing.

Solution: To proactively monitoring the Heap memory in JDeveloper 11g IDE, we need to do some settings, which is shown in the below steps:

Step 1: Go to the below location:

C:\Oracle\Middleware\jdeveloper\jdev\bin

Step 2: Open jdev.conf file in notepad.

Step 3: Add the below property file at the end of jdev.conf file

AddVMOption -DMainWindow.MemoryMonitorOn=true

Step 4: Restart the JDeveloper IDE. Thus we can see in the lower right corner of the JDeveloper IDE – Heap and Perm Gen memory statistics, along with garbage collector button:

When we click the Garbage Collector button, it will clear memory up to certain extent.

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

 260 total views,  1 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 *