Linux: Out of Memory:kill process 1270 (Java) score 478 or sacrifice child or: Java.lang.OutOfMemoryError:PermGen space

Source: Internet
Author: User

Solution: Insufficient memory, automatically kill the process, that is, killed the project process, the project can not start

The reason for this problem is that low memory is exhausted. "Kernel uses low memory to track all memory allocations, and once the low memory is exhausted, the process will be avira to keep the system running properly." The OOM Killer is a layer of protection that avoids the problem of not being too serious when Linux is in storage, and kills the unimportant process.

Solution: Found: bin/catalina.sh, in front of this echo "Using catalina_base: $CATALINA _base" plus this one, java_opts= "$JAVA _opts-server-xx: Permsize=128m-xx:maxpermsize=512m "

Linux: Out of Memory:kill process 1270 (Java) score 478 or sacrifice child or: Java.lang.OutOfMemoryError:PermGen space

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.