English 中文(简体)
安装VPS/Burstnet
原标题:install run Tomcat on VPS/Burstnet
  • 时间:2010-08-08 06:11:38
  •  标签:
  • jvm
  • vps

What is the minimum memory requirement to start JVM? I have the cheapest VPS Burstnet (512mb memory) and installed java. When I type java, it says

$java
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.

当我身边时,仍有大约400名德国马克的免费记忆。

支助告诉我,唯一的解决办法是增加我的记忆,我怀疑他的建议。 如果由于记忆不足,我试图制造一个互换文件,但是由于我的甚高频操作在开放式的VS上,不允许进行互换文件,而开放式的Vs不允许有互p文档:

请回答以下任何问题:

What is the cause of the issue?
What is the minimum memory requirement for installing JRE and JDK?
If u r running java apps on VPS, what is your memory, and which host r u using?

最佳回答

To run Tomcat on VPS:
* if openjkd installed, uninstall
* install sun-java
linux installation
* install tomcat
* run export JAVA_OPTS="-XX:MaxPermSize=64m -Xms16M -Xmx64m"
* start Tomcat ./startup.sh

问题回答

暂无回答




相关问题
Registering multiple keystores in JVM [duplicate]

I have two applications running in the same java virtual machine, and both use different keystores and truststores. A viable option would be use a single keystore and import all the other ones into ...

jvm heap limit on SUSE

I hope you can help me on the problem we have with SUSE and JDK 1.4.x: my suse is PAE enabled with 15Gb RAM. unfotunately jvm cannot allocate more than 1900Mb for heap size. So java -Xmx2048m gives me ...

Java HotSpot error

Curious if anyone could help out in regards to a Java HotSpot dump...saw some reference to head over to the Sun Forums, figured I would try here first...below is the dump... # # An unexpected error ...

Setting JVM parameters at runtime

Is it possible to change/modify/adding VM parameters after the JVM is already loaded (running)? If so, how can I do it?

Running a fastest-algorithm competition

I d like to run competitions like code golf competitions, but the winner would have the fastest algorithm, not the smallest code. One fair way to measure speed of an algorithm is to use a neutral ...

热门标签