1. Modify the location of the idea cache file (you need to crack it again after modification; you can also copy the original cache to the location you want to store, so you don't need to crack it)
1.1. Find idea.properties (in bin directory of idea installation directory), open it with Notepad, and find the following code
#--------------------------------------------------------------------- # Uncomment this option if you want to customize path to IDE config folder. Make sure you're using forward slashes. #--------------------------------------------------------------------- # idea.config.path=${user.home}/.IntelliJIdea/config #--------------------------------------------------------------------- # Uncomment this option if you want to customize path to IDE system folder. Make sure you're using forward slashes. #--------------------------------------------------------------------- # idea.system.path=${user.home}/.IntelliJIdea/system
1.2 configure the location you want to exist
#--------------------------------------------------------------------- # Uncomment this option if you want to customize path to IDE config folder. Make sure you're using forward slashes. #--------------------------------------------------------------------- # idea.config.path=${user.home}/.IntelliJIdea/config idea.config.path=D:/AppTools/Idea/IdeaIU/cache/config #--------------------------------------------------------------------- # Uncomment this option if you want to customize path to IDE system folder. Make sure you're using forward slashes. #--------------------------------------------------------------------- # idea.system.path=${user.home}/.IntelliJIdea/system idea.system.path=D:/AppTools/Idea/IdeaIU/cache/system
2. Set the memory size of idea
2.1. Find idea64.exe.vmoptions (64 bit) or idea.exe.vmoptions (32-bit)
The following parameters of idea can be configured according to PC configuration:
3. Set the size of the idea build heap
3.1. Set the value in Build process heap size