How to speed up reading files of a project in eclipse - java

I have a liferay 6.2 project with thousand files in source folder
I use eclipse IDE to develop and it has a annoyed issue: each time I click a folder in eclipse, it take long time to open the folder to see files and subfolders
I have config the eclipse.ini of eclipse to tuning eclipse performance but it does not have any effect.
Please me the suggestion to speedup eclipse
Bellow is the content of eclipse.ini
-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20140603-1326
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
2048M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
4096m
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.6
-Xms2048m
-Xmx4096m
-Xverify:none

Related

Limited BigInteger in eclipse

In Eclipse, I get a value for BigInteger.valueOf(2).pow(31093), but not for BigInteger.valueOf(2).pow(31094) (its empty).
I edited my eclipse.ini like this:
-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20140116-2212
-product
org.eclipse.epp.package.standard_2.0.2.20140224-0000
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
1024M
-showsplash
org.eclipse.platform
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.7
-XX:+UseParallelGC
-Xms512m
-Xmx1024m
-XX:PermSize=1024M
On other computers I succeeded. Is eclipse still the problem or there is something else?
If it interest anyone - The problem is a bug of the Console view in Eclipse.
Printing very big BigIntegers - same problem. The workaround works.

Eclipse Failed to Load JNI Shared Library in Windows 8,1

I am using Windows 8.1 64bit and x64 Architecture and Eclipse Luna Standard Version(Latest)** When I extract my Eclipse and Started it it is giving this error.
i don't know what to do However my Eclipse.ini look like this
-startupplugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20140603-1326
-product
org.eclipse.epp.package.standard.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize512M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize512M
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.7
-Xms40m
-Xmx512m
I need Help :)

Java crashes with Java was started but returned exit code=1

I use eclipse for android development.
Sometimes, if Google Chrome is running, it crashes and Eclipse also.
And I get message Java was started but returned exit code=1.
Full message is in print screen.
and my eclipse.ini :
-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20130807-1835
-product
org.eclipse.epp.package.standard.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
512M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
512m
--launcher.defaultAction
openFile
-vm
C:/Program Files/Java/jdk1.7.0_51/jre/bin/server/jvm.dll
-vmargs
-Xms1024m
-Xmx1024m
-XX:MaxPermSize=512m
If your JDK version is 32bit then download Eclipse or STS of 32 bit.
If your JDK version is 64bit then download Eclipse or STS of 64 bit.This worked for me

How to fix this error "GC overhead limit exceeded in Eclipse"

How to fix this error "GC overhead limit exceeded in Eclipse". This problem was occurred when I used graphical layout from ADT android.
eclipse.ini file can be edited.
Increase the values for memory usage.
Please see the sample eclipse.ini file below.
--launcher.XXMaxPermSize
512M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
512m
--launcher.defaultAction
openFile
--launcher.appendVmargs
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
512m
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.6
-Xms512m
-Xmx1024m
MAC / IOS Users
RightClick on Eclipse.app and then click on Show Package Content
Now Open Content folder to find the eclipse.ini file and edit
-Xms512m
-Xmx2048m

Java Eclipse open 2 tabs eclipse.exe and project

Today I wake up and start eclipse like every single day the open a screen and a splash screen later it opens the eclipse window but the previous remains open this is a kinda annoying have 2 open tabs for eclipse... I want when eclipse opens the other tab closes is a black window with nothing in it...
Here is my eclipse.ini:
-startup
plugins/org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.2.R36x_v20101222
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx512m
please take a look to the image.
i was able to solve my problem adding the line to the FIRST LINE in eclipse.ini file
something like
-vm
C:/Program Files/Java/jdk1.7.0_21/jre/bin/javaw.exe
yes in 2 lines not in a single line.
my eclipse.ini is like this ready now.
-vm
C:/Program Files/Java/jdk1.7.0_21/jre/bin/javaw.exe
-startup
plugins/org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.2.R36x_v20101222
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx512m
i hope really helps somebody.

Categories

Resources