AdoptOpenJDK / AdoptOpenJDK/IcedTea-Web

AdoptOpenJDK memory used inefficiently compare to Oracle JRE when open JNLP

Đang mở
#786 6 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Java
Star
268
Fork
96
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

Hi Support Team,

Observed below issue in my local lab and customer as well.

When we use the AdoptOpenJDK jre-8.0.265.01 to launch JNLP file it is taking more memory than Oracle JRE.
Please find the screenshots and data below

**1. Launch JNLP file with OpenJDK** - memory consuming 675,668‬ KB
C:\Program Files\AdoptOpenJDK\jre-8.0.265.01-hotspot\bin>javaws oneclick.jnlp

![image](https://user-images.githubusercontent.com/80963488/111785882-2c78cc80-88e3-11eb-8985-e1db5ea0743a.png)

**2. Launch JNLP file with OpenJDK with -Xnofork option** - memory consuming 1,501,572KB
C:\Program Files\AdoptOpenJDK\jre-8.0.265.01-hotspot\bin>javaws -Xnofork oneclick.jnlp

![image](https://user-images.githubusercontent.com/80963488/111786341-b32da980-88e3-11eb-911c-044f134c76cf.png)

**3. Launch JNLP file with Oracle JRE** - memory consuming 498,948KB

![image](https://user-images.githubusercontent.com/80963488/111786439-cccef100-88e3-11eb-92d1-4d5f02d019a1.png)

**Please note**
1. Tested on same machine with OpenJDK and Oracle JRE
2. Above data is my local lab testing and difference is less, but in customer case difference is huge due to large data in the application
3. In customer case
- With Oracle JRE, 1Gb DRAM was used,
- With OpenJDK, 2.7Gb DRAM is used
- With OpenJDK and -Xnofork , 4 Gb DRAM is used

**Business Impact:**
Noticed much higher memory utilization when OpenJDK is being used.
As the customer uses a jumpserver for the users to connect, this greatly limits
the number of users that can connect.

Could you please review and help if any parameters/flags can be used to optimize the memory usage.

Thanks
Channa

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.