Today, the error "failed to create the java virtual machine" was reported when zend for eclipse 10.5 was opened. gg immediately found that the PermSize and MaxPermSize configuration problems were solved.
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