Out of Memory:kill process memory is low

Source: Internet
Author: User

The service was killed and felt particularly strange. The code is sure to be fine, but why is it wrong to put it on the server?

The deployment times are wrong:

Shell Code
    1. Failed to add the deployment content to the repository:java.util.concurrent.CancellationException:Operation was Cancelle D


Wildfly error is as follows:

Shell Code
    1. ./standalone.sh:line 307: 12526 killed


I can't see what's wrong with you.

So use dmesg find reason, finally found the reason:

Shell Code
    1. # DMESG | Tail
    2. [1147898.706546] out of Memory:kill process 12526 (Java) score 399 or sacrifice Child
    3. [1147898.710393] killed process 12526 (Java) total-vm:2559448kb, anon-rss:403304kb, FILE-RSS:780KB, Shmem-rss : 0kB
    4. [1147898.738479] oom_reaper:reaped process 12526 (Java), now anon-rss:0kb, file-rss:0kb, shmem-rss:0kb


The original is due to insufficient memory. I use the server memory only 1 G, which runs a lot of services, so it can be memory is not big, so there is a problem.

Out of Memory:kill process memory is low

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.