In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-29 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly explains "using the Eclipse process to report errors: java.lang.OutOfMemoryError: PermGen space how to solve", the content of the article is simple and clear, easy to learn and understand, the following please follow the editor's ideas slowly in-depth, together to study and learn "using the Eclipse process to report errors: java.lang.OutOfMemoryError: PermGen space how to solve" it!
Eclipse error message encountered in development: java.lang.OutOfMemoryError: PermGen space.
PermGen space Baidu translates as: the permanent region is out of memory.
1. Let's start with a jvm structure diagram:
The problem of insufficient memory usually occurs on the heap, and the GC area is also on the heap.
two。 The heap is divided into several areas, including:
Cenozoic: including Eden Park and Survival area.
Old age:
Permanent band: after jdk1.8, meta-space is changed into meta-space, which no longer occupies space in the heap, while permanent band opens up space in the heap.
Configure on the first line of the file:
Write here for easy copy:
-Xms256m-Xmx1024m-XX:MaxNewSize=512m-XX:MaxPermSize=512m
Modify: parameter values in JvmMs,JvmMx,Options.
C3. After the modification, you need to restart the service.
The jvm parameter can also be configured in the configuration file eclipse.ini of D. Eclipse.
-vmargs-Xms512m-Xmx1024m-XX:PermSize=256M-XX:MaxPermSize=512M Thank you for your reading. The above is the content of "using Eclipse process to report errors: java.lang.OutOfMemoryError: how to solve PermGen space". After the study of this article, I believe you have a deeper understanding of how to use Eclipse process to report errors: java.lang.OutOfMemoryError: PermGen space how to solve this problem, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.