WSO2 Carbon Studio 1.0 crash when too many artifacts

213 Views Asked by At

I have developing a WSO2 carbon app with Eclipse. When I have too many artifacts, components... eclipse crashes.

It seems to be related to handling too many artifacts by the root-artifact.xml interface. In fact, if eclipse crashes when it is opened I fail to re-open eclipse since just start just closed. The error it shows is

An internal error has occurred.
No more handles

I am using Eclipse Helios with Carbon Studio 1.0. It happens the same to some coworkers. I may have about 40-50 elements in the project. I have increased the memory up to 756 in the eclipse.ini. It shows like this:

-startup
plugins/org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.2.R36x_v20101222
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
756M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
756m
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx756m

Any help?

1

There are 1 best solutions below

0
On

According to the provided information in here, issue is in your Operating system. It seems the Eclipse process as ran out of file handles assigned to the process.

In this case, best thing is to close all the unwanted files/Editors in Eclipse and try to increase the operating system file handle limit.

It seems the Bugzilla issue is related to your scenario. Try the following article. It might be helpful but I have not tried out by myself.