Jump to content

[L2J-Basics] Eclipse Fine Tuning


Recommended Posts

This guide will guide you through about ways to improve the performance of eclipse to the point where it runs as efficent as ever.

 

Disable your antivirus softwares on demand scanning option(if it has one and you use one).

 

During the building process eclipse will create a lot of temporary files and read a lot of files, so disabling this option can make these faster.

 

Disable file index if you use windows vista/7/8.

 

While building your pack a lot of files will be created that have no reason to be indexed.

 

ALWAYS use the latest version from everything you use.

 

This is just pretty much common sense, newer the better.

 

Tweek the eclipse startup.

 

In the eclipse.ini you can tweek the jvm usage in many ways.

 

-vm C:/Program Files/Java/jdk1.6.0_25/jre/bin/server/jvm.dll

 

pointing the jvm directly to the jvm brings the following adventages:

- Splash screen coming up sooner.

- Eclipse.exe in the process list instead of java.exe.

- Firewalls: Eclipse wants access to the Internet instead of java.

- Window management branding issues, especially on Windows and Mac.

 

-vmargs

-Dosgi.requiredJavaVersion=1.7

-Xms512M

-Xmx1024M

-Xss4M

-XX:PermSize=128M

-XX:MaxPermSize=256M

-XX:MaxGCPauseMillis=10

-XX:MaxHeapFreeRatio=70

-XX:+UnlockExperimentalVMOptions

-XX:UseG1GC

-XX:+UseFastAccessorMethods

-Dcom.sun.management.jmxremote

-Xverify:none

 

Also these are jvm options mainly about memory management im not going in detail with them, the key elements you need to edit according to your system is the Xms and Xmx values(more memory you have more you can allow eclipse to use obviously).

 

Disable unused eclipse options.

 

- UI eyecandy(pointless extra load)

- Disable assist content you dont use(SWT proposal for example)

 

Keep an organized workspace layout.

 

Dont checkout more than 1 serverpack into a workspace, create a new one. That will speed up searching and building workspace wont be as long as it would if you would have like 4 packs in the same workspace.

 

Use only necessary plugins.

 

Each plugin install makes eclipse heavier, use only the ones you really want to use.

 

Cleanup your workspace regurarly.

 

To avoid strange things happening with your eclipse from time to time its a good things to run the eclipse -clean commandline argument to fix really weird issues.

 

Make your workspace work for you.

 

I see many people use the default workspace layout, that works out in many cases just fine but your productivity can improve a lot if you change everything to your liking, or if you add different "views" that helps you in what you do but the default view doesnt include them.

Link to comment
Share on other sites

-XX:CompileThreshold=5 causes the cpu to go 100%. Everything becomes really slow with that

 

Setting the permSizes doesn't seems to help neither, but good tips anyway

 

Specially on the workspaces, i didn't knew that, i have like 16 projects in the same workspace xD

Link to comment
Share on other sites

-XX:CompileThreshold=5 causes the cpu to go 100%. Everything becomes really slow with that

 

Setting the permSizes also seems to not help, but good tips anyway

 

Specially on the workspaces, i didn't knew that, i have like 16 projects in the same workspace xD

 

ops pasted the wrong ini from my pc, post updated :D

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...