简体   繁体   English

Liferay + Ubuntu 14 + Glassfish-1GB RAM

[英]Liferay + Ubuntu 14 + Glassfish - 1GB RAM

I have a personal server with Ubuntu 14 and 1GB RAM. 我有一台具有Ubuntu 14和1GB RAM的个人服务器。 I would like to configure Liferay running in a Glassfish in this server. 我想配置在此服务器上的Glassfish中运行的Liferay

I'm trying, but the initialization process is giving to me this message: 我正在尝试,但是初始化过程给了我以下信息:

OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x00000000c8bd7000, 84496384, 0) failed; error='Cannot allocate memory' (errno=12)
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (malloc) failed to allocate 84496384 bytes for committing reserved memory.
# An error report file with more information is saved as:
# /opt/liferay-portal-6.2-ce-ga2/glassfish-3.1.2.2/domains/domain1/config/hs_err_pid6797.log
Command start-domain failed.
The DAS was stopped

Can someone suggest some configuration that I can use without change the server physical memory? 有人可以建议我使用一些无需更改服务器物理内存的配置吗?

Thanks 谢谢

You may encounter out-of-memory errors when launching the GlassFish with Liferay portal. 启动带有Liferay的GlassFish门户时,您可能会遇到内存不足的错误。 To avoid these errors, set larger initial and maximum memory heap sizes with the -Xms and -Xmx options on admin console. 为避免这些错误,请在管理控制台上使用-Xms和-Xmx选项设置更大的初始和最大内存堆大小。

If you can't increase the RAM you may try the "Liferay with Glassfish Bundle". 如果您无法增加RAM,则可以尝试“带Glassfish捆绑包的Liferay”。 This is a preconfigured Glassfish server with Liferay Portal already installed. 这是已安装Liferay Portal的预配置Glassfish服务器。 It is available at http://www.liferay.com/downloads/liferay-portal/available-releases . 可从http://www.liferay.com/downloads/liferay-portal/available-releases获得

According to the wiki docs it has the following requirements: 根据Wiki文档,它具有以下要求:

  • Memory: 1GB RAM Disk Space: 500MB 内存:1GB RAM磁盘空间:500MB
  • System Architecture: X86/SPARC 系统架构:X86 / SPARC
  • Operating System: Solaris/Linux/MacOS X/Windows/AIX 作业系统:Solaris / Linux / MacOS X / Windows / AIX
  • JDK 1.6.x/1.5.x (Only 1.5.x on Mac) JDK 1.6.x / 1.5.x(在Mac上仅1.5.x)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM