Zulu Community

huge memory consumption zulu8.25.0.2-jdk8.0.152-win_x64 running Tomcat 8 on Windows 10

Updated on November 28, 2017 in Zulu on Windows
0 on November 28, 2017

The Windows JDK 8.0.152 x64 consumes about 500MB memory running Tomcat 8 the previous JDK 144 needed only about 100MB.

I have check this behavior with apache-tomcat-8.0.47-windows-x64 with default webapps folder. No custom settings nor private .war files.

Are there any informations about this behavior?

Steps to reproduce:

Download
http://cdn.azul.com/zulu/bin/zulu8.25.0.1-jdk8.0.152-win_x64.zip
http://cdn.azul.com/zulu/bin/zulu8.23.0.3-jdk8.0.144-win_x64.zip
http://mirror.23media.de/apache/tomcat/tomcat-8/v8.0.47/bin/apache-tomcat-8.0.47-windows-x64.zip

Extract zip files to temp folder (in my case d:\temp)

Open cmd.exe
> cd D:\temp\apache-tomcat-8.0.47\bin
> set JAVA_HOME=D:\temp\zulu8.25.0.1-jdk8.0.152-win_x64
> startup.bat

After startup check with:
>TASKLIST /FI “IMAGENAME eq java.exe”

Image Name                     PID Session Name        Session#    Mem Usage
========================= ======== ================ =========== ============
java.exe                      8032 Console                    1    535,016 K
Now stop tomcat and verify against previous jdk 144:

> set JAVA_HOME=D:\temp\zulu8.23.0.3-jdk8.0.144-win_x64
> startup.bat

After startup check again with:
>TASKLIST /FI “IMAGENAME eq java.exe”

Image Name                     PID Session Name        Session#    Mem Usage
========================= ======== ================ =========== ============
java.exe                      8424 Console                    1    101,508 K

  • Liked by
Reply