after change it to 256 ,it solved my problem ,you can take to use it .not change the MaxPermSize value ,keep it as default.
On Tuesday, February 5, 2013 1:03:13 AM UTC+8, mattcarp wrote:
Hi. I'm attempting to build the latest checked-in source for Selenium server standalone and I'm getting the following error:Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.
I notice that in the 'go' file MaxPermSize=1024m. I tried changing this to 512m (same error) and to 2048m (error: 'The size of the object heap + VM data exceeds the maximum representable size'). I'm running 32-bit Ubuntu 12.04 with 8 gigs of RAM (of which I assume only 4 gigs are addressable).
Any tips on what to try?
Many thanks.
matt