Zend prompts failed to create the java virtual machine

Source: Internet
Author: User
Tags win32 zend


When zend for eclipse 10.5 is enabled, an error is reported:
Failed to create the java virtual machine

Google, the solution is as follows:

Find ZendStudio. ini in the zend directory and configure it as follows:

-Startup
Plugins/org. eclipse. equinox. Launcher_1.3.0.v20120522-1813.jar
-- Launcher. library
Plugins/org. eclipse. equinox. launcher. win32.win32. X86_1.1.200.v20120913-144807
-- Launcher. XXMaxPermSize
126 m
-- Launcher. defaultAction
OpenFile
-Showlocation
-Name
Zend Studio
-Vmargs
-Xms256M
-Xmx512M
-XX: MaxPermSize = 512 m
-DGIT_SSL_NO_VERIFY = true
-Dsvnkit. http. sslProtocols = SSLv3

Note: The PermSize and MaxPermSize indicate that the virtual machine allocates memory limits for these reflective objects, such as Permanate generation, which are not included in Heap (Heap memory) area.

-Xms128m

The minimum size of JVM Heap (Heap memory) is 128 MB and is initially allocated.

-Xmx512m

The maximum size allowed by JVM Heap (Heap memory) is 256 MB, which is allocated as needed.

-XX: PermSize = 64 MB minimum size, initial allocation
-XX: MaxPermSize = 256 MB: The maximum size allowed for allocation, which is allocated on demand.
Too small will cause: java. lang. OutOfMemoryError: PermGen space

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.