vmware / vmware/singleton

[BUG][Java Service]Return "520" with java.lang.OutOfMemoryError: Java heap space when request get supportedLanguageList api reaches 58 times

Open
#1,877 2 comments 0 reactions 1 assignee View on GitHub

@tigershi is already working on this.

Since Sep 8, 2022.

area/java-service kind/bug priority/medium
Dominant language
Java
Stars
72
Forks
69
Avg merge
23h 32m
Merged PRs (30d)
4

Description

Describe the bug
Return "520" with java.lang.OutOfMemoryError: Java heap space when request get supportedLanguageList api reaches 58 times

To Reproduce
Steps to reproduce the behavior:

  1. Set translation bundles in java service and start the service
  2. request get supportedLanguageList api 100 times by different product
    such as: GET https://10.185.19.42:8090/i18n/api/v2/locale/supportedLanguageList?productName=VMCUI66&version=1.0.0
    3, check these api response

Actual result:When request get supportedLanguageList api reaches 58 times, the api return 520

Expected behavior
The return is 200 when request get supportedLanguageList api every times

Screenshots
image

image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.