Run PHPStorm with 64bit JRE (Windows7)

Hi,

is there a chance to run PHPStorm with a 64bit JRE instead of the bundeled 32bit version?

Greeting,

Ralf

6 comments
Comment actions Permalink

Why do you want to use x64 JRE?

0
Comment actions Permalink

Hi,

the question is why using an 32bit JRE on a 64bit OS?
All my IDEs are running perfect with 64bit JRE (Eclipse etc).

But if the answer ist "No, PHPStorm can only run with 32bit JRE" thats okay to me.

Thx

0
Comment actions Permalink

Because 64bit JVM provides absolutely NO benefit for the IDE but gives much worse memory footprint. There no other restrictions. We run under pure 64bit linux where's no option to use 32bit with no problems (albeit having about twice greater memory requirements)

0
Comment actions Permalink

I'm constanty running into memory problems myself... I changed -Xmx to 1024m which solves it when the error pops up in PHP, but after I reboot I can't start the program and have to change -Xmx back to 512m.

The question was "can it be ran with the 64 bits JRE" so an answer to that question would be great :)

0
Comment actions Permalink

I assume you have the 64bit JRE installed (if not, look online, you'll find it)

- Click 'start', right-click 'computer' and select 'properties'
- Select 'Advanced system settings' on the left
- Click the button 'Environment Variables' on the bottom
- Add an environment variable by clicking the button "New..."
- enter "WEBIDE_JDK" as the name and "C:\Program Files\Java\jdk1.7.0_51\jre" as the value (or wherever your 64bit JRE is installed)
- close the windows you just openend

Now you need to copy the vmoptions file in the installation directory of PHPStorm. so copy "PhpStorm.exe.vmoptions" to "PhpStorm64.exe.vmoptions" and start PHPStorm by using the "PhpStorm.bat"-file...

Enjoy!

0

Please sign in to leave a comment.