Skip to content

Commit 6212e0d

Browse files
Merge pull request #299075 from vcmsft/main
Update Java Max Heap Information
2 parents 34a094b + 819fb0f commit 6212e0d

File tree

1 file changed

+3
-19
lines changed

1 file changed

+3
-19
lines changed

articles/app-service/configure-language-java-deploy-run.md

Lines changed: 3 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -401,25 +401,9 @@ To configure the app setting from the Maven plugin, add setting/value tags in th
401401
402402
::: zone-end
403403

404-
Developers running a single application with one deployment slot in their App Service plan can use the following options:
405-
406-
- B1 and S1 instances: `-Xms1024m -Xmx1024m`
407-
- B2 and S2 instances: `-Xms3072m -Xmx3072m`
408-
- B3 and S3 instances: `-Xms6144m -Xmx6144m`
409-
- P1v2 instances: `-Xms3072m -Xmx3072m`
410-
- P2v2 instances: `-Xms6144m -Xmx6144m`
411-
- P3v2 instances: `-Xms12800m -Xmx12800m`
412-
- P1v3 instances: `-Xms6656m -Xmx6656m`
413-
- P2v3 instances: `-Xms14848m -Xmx14848m`
414-
- P3v3 instances: `-Xms30720m -Xmx30720m`
415-
- I1 instances: `-Xms3072m -Xmx3072m`
416-
- I2 instances: `-Xms6144m -Xmx6144m`
417-
- I3 instances: `-Xms12800m -Xmx12800m`
418-
- I1v2 instances: `-Xms6656m -Xmx6656m`
419-
- I2v2 instances: `-Xms14848m -Xmx14848m`
420-
- I3v2 instances: `-Xms30720m -Xmx30720m`
421-
422-
When tuning application heap settings, review your App Service plan details. Consider the needs of multiple applications and deployment slots to find the optimal allocation of memory.
404+
By default, App Service sets the JVM Max Heap size to 70% of the total memory available for the App Service Plan. To disable the default setting, you can use app setting WEBSITE_DISABLE_JAVA_HEAP_CONFIGURATION=”true".
405+
406+
Enhancing your application's performance on the platform may involve adjusting the heap size to better suit your specific needs. When tuning application heap settings, please review your App Service plan details and consider the requirements of multiple applications and deployment slots to find the optimal memory allocation.
423407

424408
### Turn on web sockets
425409

0 commit comments

Comments
 (0)