Разверните Java веб-приложение с Azure - PullRequest
0 голосов
/ 16 марта 2020

Я новичок в Azure. Я развернул простое веб-приложение, все в порядке. Когда я развертываю веб-приложение maven с помощью файла war (spring mvc, hibernate), у меня появляется этот журнал в редакторе служб приложений

#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (mmap) failed to map 212992 bytes for card table expansion
# Possible reasons:
#   The system is out of physical RAM or swap space
#   The process is running with CompressedOops enabled, and the Java Heap may be blocking the growth of the native heap
# Possible solutions:
#   Reduce memory load on the system
#   Increase physical memory or swap space
#   Check if swap backing store is full
#   Decrease Java heap size (-Xmx/-Xms)
#   Decrease number of Java threads
#   Decrease Java thread stack sizes (-Xss)
#   Set larger code cache with -XX:ReservedCodeCacheSize=
#   JVM is running with Unscaled Compressed Oops mode in which the Java heap is
#     placed in the first 4GB address space. The Java Heap base address is the
#     maximum limit for the native heap growth. Please use -XX:HeapBaseMinAddress
#     to set the Java Heap base and to place the Java Heap above 4GB virtual address.
# This output file may be truncated or incomplete.
#
#  Out of Memory Error (os_windows.cpp:3415), pid=8336, tid=0x0000000000004c6c
#
# JRE version: OpenJDK Runtime Environment () (8.0_202-b05) (build 1.8.0_202-b05)
# Java VM: OpenJDK 64-Bit Server VM (25.202-b05 mixed mode windows-amd64 compressed oops)
# Failed to write core dump. Failed to find MiniDumpWriteDump() in module dbghelp.dll
#

Иногда, Azure возвращает страницу 502 или страницу загрузки бесконечности с

The specified CGI application encountered an error and the server terminated the process.

Azure с использованием оконной машины, бесплатный уровень F1, Java 8, Java контейнер: Tomcat

Как решить эту проблему, ткс !!!

...