Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Too small initial heap for new size specified reported an error

2025-02-27 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

I. Environment

2. Error message

Third, the reason

IV. Solution

Environment Red Hat Enterprise Linux Server release 7.2 (Maipo) java version "1.7.080" Java (TM) SE Runtime Environment (build 1.7.0_80-b15) Java HotSpot (TM) 64-Bit Server VM (build 24.80-b11, mixed mode) apache-tomcat-7.0.94

Tomcat Startup Settings

JAVA_OPTS= "- server-Xmx256m-Xms256m-Xmn256m-Xss256k-XX:+DisableExplicitGC-XX:+UseConcMarkSweepGC-XX:+CMSParallelRemarkEnabled-XX:+UseFastAccessorMethods-XX:+UseCMSInitiatingOccupancyOnly-XX:CMSInitiatingOccupancyFraction=70-Duser.timezone=GMT+8" II, error message Error occurred during initialization of VMToo small initial heap for new size specified III, error reason

Reason: misunderstanding of xmn (Xmn cannot be greater than or equal to Xmx)

See https://my.oschina.net/chendongzg/blog/789803

4. Change the solution from-Xmn256m to-Xmn128m

Restart, start normally

Special link:

Http://yjph83.iteye.com/blog/2108105

Http://www.cnblogs.com/redcreen/archive/2011/05/04/2037057.html

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.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report