My program shows Exception : GC overhead limit exceeded . I found one solution as , to increase the eclipse heap size in eclipse.ini.I tried to open eclipse.ini from Ubuntu command prompt using the command given below
sudo gedit /usr/bin/eclipse/etc/eclipse.ini
But this is not working..it just opens a new gedit file named eclipse.ini.. How can i open eclipse.ini in Ubuntu command prompt and edit
Have you tried finding the existing file and editing it? Check this question for more details on where to find the file on Linux, then edit it.
The 'eclipse.ini' file is always in the same directory as the eclipse executable in your Eclipse installation. This is normally the root directory of the installation, not 'etc'.
sudo gedit /opt/eclipse/eclipse.ini
You should probably use the following command from a terminal:
locate eclipse.ini
You will know the exact location of eclipse.ini and will be able to edit it.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.