【发布时间】:2013-06-25 02:55:59
【问题描述】:
最近我将我的实例配置到 EC2 中的微环境中,在 windows 中使用 glassfish 和 mysql .. 我部署了我的战争,我能够通过 http 访问我的网站。
我更改了我的应用程序并重新部署了战争,它也奏效了。
当我准备第四次或第五次重新部署战争时,应用程序被部署了,我在日志文件中看到了这条消息。但是我无法通过 http 访问该站点。
然后我尝试了命令“asadmin list-applications”并收到以下消息。
Error occurred during initialization of VM
Could not reserve enough space for object heap
在那之后,我无法通过 RDP 连接到我的实例,我不得不重新启动,之后我能够再次访问它。我再次启动了服务器(glassfish mysql),但没有运气。
I noticed that the memory usage is around 90% or more. CPU isage is low.
现在我无法通过 http 访问我的网站。我该怎么办?
提前致谢!
【问题讨论】:
标签: memory amazon-web-services amazon-ec2 glassfish