I have installed the EAP of PHPStorm 9 and I am trying to increase my allocated heap size without any luck.
I am on Mac OS X Yosemite and I am following the instructions on this page:
https://www.jetbrains.com/phpstorm/help/tuning-phpstorm.html
The file /Applications/PhpStorm.app/Contents/bin/idea.vmoptions should be copied to
~/Library/Preferences/WebIdeXX/idea.vmoptions
Any advice would be greatly appreciated! Didn't have any issues with doing the exact same thing for PHPStorm 8.
What you have to do
Go to your PhpStorm installation directory
open the .vmoptions file (learn more on JetBrains help)
increase the value of the Xmx-Setting to a reasonable amount
restart PhpStorm and enjoy your bigger heap
Two things are important
Heap size < total amount of RAM
Keep your Java installation updated
Here are some links for a little more background on what to change and why:
Check the JetBrains help site for detailed instructions on what files to change
Learn more about the configuration options of JVM (the info also applies to JDK and JRE)
Check out my vmoptions on pastebin as an example
Read about why increasing heap size is a good idea
If you're interested in getting even better performance with PhpStorm read this post
Note: this settings also apply to WebStorm and IntelliJ IDEA.
Solved, in case anyone needs the solution:
I followed the instructions from the "Tuning PHPStorm" page however this time I copied phpstorm.vmoptions into my Library/Preferences folder, working like a charm.
Related
I am not a very advanced programmer so I'm not sure if what I'm trying to do is completely unreasonable, but I thought as a fun project I would try to mod an open source browser such as chromium. I am using ubuntu, and I thought I'd just start with getting the source code and compiling. However in the build instructions it says I need at least 100GB of disk space which I do not have and I am very confused as to why this is necessary. Looking at the codebase there seems to be a lot of files that I do not need to build the Linux broswer-only version of chromium (which is less than 200MB in size to download). Is there a way I can get only the files necessary?
I have an acer switch alpha, and both Ubuntu and Debian worked flawlessly with the stylus. But I cannot get it to work at all on Fedora which is my preferred OS.
What works:
Hovering
Clicking on anything related to the gnome-shell (settings, activity bar, title bar) But nothing inside windows aside from the settings application so far.
Very odd behavior, am I missing some libraries?
Honestly the amount of time I waste debugging Fedora over the last few years is a bit much. Never had as many problems on Ubuntu or Debian will probably just swap considering how utterly unreliable Fedora has become.
As of Fedora 25, the distro defaults to booting into a Wayland-powered desktop. Pens are not well supported under Wayland at the moment; only native GTK3 applications such as the shell and GNOME Control Center will react to pen input (many applications either still use GTK2 or another toolkit like Qt).
Until the situation improves, I would recommend using the "gear" icon on the login screen to change your session from "GNOME" to "GNOME on Xorg". The pen should return to functioning as it has in the past.
I am facing issues to run .exe files created in Qt 5.3 on different windows system. I have included all the .dll files. The issue is that on the latest system with graphics card support the application runs without any issues but on older systems it just gives blanck screen.
I suspect that this has something to do with openGL support for the system.
Is there a way where I can make sure that the application runs without any glitches on all the systems?
Or is it possible to have an application created without oprnGL support needed ?
Hoping to hear some solution for this.
Thanks in advance.
EDIT:
Following is the error I get when I run the code
getProcAddress: Unable to resolve 'glBindFramebuffer'
getProcAddress: Unable to resolve 'glBindFramebufferOES'
getProcAddress: Unable to resolve 'glBindFramebufferARB'
and here is the screenshot of the way the screen looks
NOTE :
Please note that when I run the .exe on a new system with updated graphics, the screens looks perfect.
Did you include any OpenGL headers in your Qt Project?
Because if you did then there is obviously going to be a dependency on OpenGL for each system and if one of them cannot support this then you either need to decrease the minimum version of GL you are using or remove these headers altogether. It is also worth noting that no matter how hard you try - you will never get the same version of OpenGL to run across every piece of hardware without having to change something.
Did you add the QtOpenGL module?
From what is sounds like, you are not using OpenGL in your application. If this is true then you should remove this module from your .pro file and it should remove the dependency.
I hope this answers your question. If not, could you provide a little more detail because your question was slightly vague.
I have to "downgrade" an existing apllication running fine on windows 7.
When starting in on Windows XP (SP3) it crashes with the comment The procedure entry point InitializeConditionVariable could not located in the dynamic library Kernel32.dll.
Reading the oracle forum tells that on needs mysql.dll in Version < 6.
But how to optain such a DLL? I'm not able to find it from the oracle website.
Are there official ressources?
Hi there, I need to push the question up. I'm sorry, I can't believe there is no one able to answer. The question is two weeks old. Any help over there?
And once again a need to push - two further weeks without any help.
I am the guy who posted on the Oracle forum. This is the last Windows XP 32 bit compatible libmysql.dll I could find anywhere on the Internet.
You may find the DLL at this URL.
The download link is working at the time I am posting this answer.
It's an unofficial, third party website, not endorsed by Oracle. I warmly encourage who downloads it to scan it for viruses etc.
Best regards,
dfumagalli
Dario, thank you for your helpful answer.
I did not mark it as an answer, as there is no guarantee, the dll is from mysql.
I asked at mysql and got the following answer (from Lenka Kasparova):
I asked my colleagues and got advised on following response:
=====
We offer archives of earlier versions of Connector/C from our download archive:
http://downloads.mysql.com/archives/c-c/
Unfortunately versions prior to 6.0 spans back quite far and is no longer supported for download.
=====
But inspired by that I found another solution: Visiting the page http://dev.mysql.com/downloads/mysql/ I found a way to download mysql-5.6.19-win32.zip (MD5: a855f736a676bd9b50b1a9a8c1b73065) from the Generally Available (GA) Releases. This file contains the wanted libmysql.dll.
You can see the crc checksum 53010E33 for the filesize 4 432 384 B in the screenshot:
For those, who do not want to download the big .zip (217 394 KB), feel free to ask me for the given DLL or search for that version on the net and be sure to compare the hashes. That should be a little bit more trustable.
I was installed CUDA 4 on my laptop (Dell - Vostro 3500) and started to write CUDA programs. But I got an error: driver is not compatible with this versios of CUDA.
So I decided to update my GPU driver (GPU: Nvidia GeForce 310M) and downloaded the driver from Nvidia's site. But when I want to insall the driver, see this error:
NVIDIA Intaller cannot continue
This graphics driver could not find compatible graphics hardware.
I tried 301.42 , 301.32 , 275.33 and 270.81 versions of Nvidia GPU drivers.
My friend installed 275.33 on his laptop with GeForce 310M on an Asus device.
Finally I found my answer with the help of Ben Stewart.
I hacked the INF file in this way:
Go here.
At the second part (NVIDIA Video Drivers and Tools) select suitable part. For example select 29X for 296.10.
Select appropriate part for your downloaded driver and Windows version.
In this page download INF file.
Replace the INF file with INF in the Display.Driver folder at driver unzip location (for example, C:\NVIDIA\DisplayDriver\296.10\WinVista_Win7_64\International\Display.Driver)
Set up the driver!
I had the same problem recently running Windows 7 on an iMac and managed to hack the nv_disp.inf file on version 301.42 to get it to install fine. Basically, you need to add an identifier from your graphics card to the inf file and away she goes. Not to hard.
Here's how I did it.
First, we need the identifier from your graphics card. Open Device Manager and bring up the property box for your graphics card in Display adapters. In the "Details" tab you will find a drop down box, open it and select "Device Instance Path"; you should be able to right click on the value in the field below and copy it.
Then find the temporary folder that the driver setup was extracted to when you ran it previously. For me it was "C:\NVIDIA\DisplayDriver\301.42\WinVista_Win7_64" - if you can't find it, just run the setup again and note where the installer extracts itself. The file we need to edit is located in the Display.Driver directory, and it's called nv_disp.inf. Open this in Notepad or your favorite text editor.
Now we need to modify the string you have copied and add it to this file.
If you scroll about 15% of the way down you will find a heading similar to [NVIDIA_SetB_Devices.NTamd64.6.0]. This is the start of Nvidia's list of supported devices.
If you paste your device instance path here you will probably notice that the first 21 or so characters of your device path are similar to the last 21 on the proceeding few hundred lines. Something like PCI\VEN_10DE&DEV_0240. You can delete the rest of the text you have copied in.
The devices are organised into groups, so it's probably best to search for a line that is similar to yours in the last four numbers and use this as a template for creating the entry.
You want to use this information to create an entry that looks like the others that are already here.
I modified the line:
%NVIDIA_DEV.0868% = Section005, PCI\VEN_10DE&DEV_0868
with the identifier PCI\VEN_10DE&DEV_0869 to be:
%NVIDIA_DEV.0869% = Section005, PCI\VEN_10DE&DEV_0869
Note that the four-digit number near the beginning of the line matches the number at the end.
Save the document over the original nv_disp.inf, then run setup.exe from the already extracted folder. If you run the file you downloaded again, it will just extract again and overwrite your changes.
Are you downloading the notebook drivers from http://nvidia.com/drivers?
If you were using the notebook drivers, then it is likely that NVIDIA didn't include your GeForce 310M in the INF file for the latest drivers. You can hack at the INF files yourself to fix this. It is not simple, but can be done by googling for it and carefully reading certain forums where others have hacked at the INF files themselves. No fun.