The "One Laptop Per Child" project has a great device ready to ship, but there's no Java on there. Let's think about working together to put Java on OLPC!
I work with Eclipse Standard Edition 3.3.1 version on WinXP. I am trying to export, created by me plug-in with "Export Wizard" from "Overview" plug-in tab. During the build process I get an error message that Eclipse is out of heap space. I tried to increase the Eclipse heap space to 1GB (don't let me more).
My startup.ini
--------------
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
-vmargs
-Xms64m
-Xmx940m
However, it not enough, I continue to get the same error.
Yes, I have about 200 classes in my plug-in and dependencies to other plug-ins but still the memory usage is too big.
So my question is what is the alternative ways to export plugins and why Eclipse takes so much memory ? Actually, I will appreciate any help.
Pavel Orehov wrote:
> Hi,
>
> I work with Eclipse Standard Edition 3.3.1 version on WinXP. I am trying to export, created by me plug-in with "Export Wizard" from "Overview" plug-in tab. During the build process I get an error message that Eclipse is out of heap space. I tried to increase the Eclipse heap space to 1GB (don't let me more).
>
> My startup.ini
> --------------
> -showsplash
> org.eclipse.platform
> --launcher.XXMaxPermSize
> 256m
> -vmargs
> -Xms64m
> -Xmx940m
>
> However, it not enough, I continue to get the same error.
>
> Yes, I have about 200 classes in my plug-in and dependencies to other plug-ins but still the memory usage is too big.
>
> So my question is what is the alternative ways to export plugins and why Eclipse takes so much memory ? Actually, I will appreciate any help.
You certainly should not need that much memory to build a plug-in of the
size you describe. By comparison, I regularly build
org.eclipse.jdt.core with much less memory than that.
Are there any errors in your error log? Are there any details of the
heap error (e.g., a stack trace)?
I notice that your eclipse.ini does not specify any particular JRE.
What JRE are you using? Are you sure? Have you tried explicitly
specifying a particular JRE to run Eclipse in, and if so, which one?
Are there any unusually large JAR files on the build path (e.g., bigger
than 20MB)?
2.At 7:52 AM
on Aug 11, 2008,
Mariot Chauvin
wrote:
Re: Out of heap space when exporting plugin
Hi Pavel,
Just to mention that there is a great tool to find the reason of an Out of memory error : http://www.eclipse.org/mat/ Hope this help.
Regards,
Mariot
Pavel Orehov a écrit :
> Hi,
>
> I work with Eclipse Standard Edition 3.3.1 version on WinXP. I am trying to export, created by me plug-in with "Export Wizard" from "Overview" plug-in tab. During the build process I get an error message that Eclipse is out of heap space. I tried to increase the Eclipse heap space to 1GB (don't let me more).
>
> My startup.ini
> --------------
> -showsplash
> org.eclipse.platform
> --launcher.XXMaxPermSize
> 256m
> -vmargs
> -Xms64m
> -Xmx940m
>
> However, it not enough, I continue to get the same error.
>
> Yes, I have about 200 classes in my plug-in and dependencies to other plug-ins but still the memory usage is too big.
>
> So my question is what is the alternative ways to export plugins and why Eclipse takes so much memory ? Actually, I will appreciate any help.
>
> Thanks,
> Pavel
Out of heap space when exporting plugin
At 10:11 AM on Aug 7, 2008, Pavel Orehov
wrote:
I work with Eclipse Standard Edition 3.3.1 version on WinXP. I am trying to export, created by me plug-in with "Export Wizard" from "Overview" plug-in tab. During the build process I get an error message that Eclipse is out of heap space. I tried to increase the Eclipse heap space to 1GB (don't let me more).
My startup.ini
--------------
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
-vmargs
-Xms64m
-Xmx940m
However, it not enough, I continue to get the same error.
Yes, I have about 200 classes in my plug-in and dependencies to other plug-ins but still the memory usage is too big.
So my question is what is the alternative ways to export plugins and why Eclipse takes so much memory ? Actually, I will appreciate any help.
Thanks,
Pavel
3 replies so far (
Post your own)
Re: Out of heap space when exporting plugin
Pavel Orehov wrote:> Hi,
>
> I work with Eclipse Standard Edition 3.3.1 version on WinXP. I am trying to export, created by me plug-in with "Export Wizard" from "Overview" plug-in tab. During the build process I get an error message that Eclipse is out of heap space. I tried to increase the Eclipse heap space to 1GB (don't let me more).
>
> My startup.ini
> --------------
> -showsplash
> org.eclipse.platform
> --launcher.XXMaxPermSize
> 256m
> -vmargs
> -Xms64m
> -Xmx940m
>
> However, it not enough, I continue to get the same error.
>
> Yes, I have about 200 classes in my plug-in and dependencies to other plug-ins but still the memory usage is too big.
>
> So my question is what is the alternative ways to export plugins and why Eclipse takes so much memory ? Actually, I will appreciate any help.
You certainly should not need that much memory to build a plug-in of the
size you describe. By comparison, I regularly build
org.eclipse.jdt.core with much less memory than that.
Are there any errors in your error log? Are there any details of the
heap error (e.g., a stack trace)?
I notice that your eclipse.ini does not specify any particular JRE.
What JRE are you using? Are you sure? Have you tried explicitly
specifying a particular JRE to run Eclipse in, and if so, which one?
Are there any unusually large JAR files on the build path (e.g., bigger
than 20MB)?
Re: Out of heap space when exporting plugin
I am using JRE 1.5 and the plug-in project size is 16MB.Re: Out of heap space when exporting plugin
Hi Pavel,Just to mention that there is a great tool to find the reason of an Out of memory error : http://www.eclipse.org/mat/
Hope this help.
Regards,
Mariot
Pavel Orehov a écrit :
> Hi,
>
> I work with Eclipse Standard Edition 3.3.1 version on WinXP. I am trying to export, created by me plug-in with "Export Wizard" from "Overview" plug-in tab. During the build process I get an error message that Eclipse is out of heap space. I tried to increase the Eclipse heap space to 1GB (don't let me more).
>
> My startup.ini
> --------------
> -showsplash
> org.eclipse.platform
> --launcher.XXMaxPermSize
> 256m
> -vmargs
> -Xms64m
> -Xmx940m
>
> However, it not enough, I continue to get the same error.
>
> Yes, I have about 200 classes in my plug-in and dependencies to other plug-ins but still the memory usage is too big.
>
> So my question is what is the alternative ways to export plugins and why Eclipse takes so much memory ? Actually, I will appreciate any help.
>
> Thanks,
> Pavel