Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Memory problem with JVM..?
Memory problem with JVM..? [message #261284] Tue, 13 July 2004 19:17 Go to next message
William E. Taylor is currently offline William E. TaylorFriend
Messages: 51
Registered: July 2009
Member
Yesterday I download a few plug-in and now Eclipse on startup, will startup
display the main IDE then closes and display an error response window. It
says that it had a JVM error rc=1. This has been intermitted in the
past.but this is happening more since I added more plug-ins. I have a
feeling it is due to memory but can not prove it. There is no log built for
this error.

If it is memory is there a way to increase memory for the JVM Eclipse is
loading at execution of startup.

Or has anybody experienced this error also?

Thanks in advance...
Re: Memory problem with JVM..? [message #261319 is a reply to message #261284] Tue, 13 July 2004 21:10 Go to previous messageGo to next message
William E. Taylor is currently offline William E. TaylorFriend
Messages: 51
Registered: July 2009
Member
I did see this in the error log. This just happened! Not sure if this is my
problem. I have no clue.

!ENTRY org.eclipse.osgi Jul 13, 2004 17:00:50.737
!MESSAGE While loading class
" org.eclipse.team.internal.ccvs.ui.console.ConsoleDocument$Co nsoleLine ",
thread "main" timed out waiting (5000ms) for thread "Worker-1" to finish
starting bundle "org.eclipse.team.cvs.ui". To avoid deadlock, thread "main"
is proceeding but
" org.eclipse.team.internal.ccvs.ui.console.ConsoleDocument$Co nsoleLine " may
not be fully initialized.
!STACK 0
java.lang.Exception: Generated exception.
at
org.eclipse.core.runtime.adaptor.EclipseClassLoader.findLoca lClass(EclipseCl
assLoader.java:102)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(BundleL
oader.java:371)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader
..java:402)
at
org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader. loadClass(Abstra
ctClassLoader.java:93)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302 )
at
org.eclipse.team.internal.ccvs.ui.console.ConsoleDocument.ge tLines(ConsoleDo
cument.java:78)
at
org.eclipse.team.internal.ccvs.ui.console.CVSOutputConsole.d ump(CVSOutputCon
sole.java:140)
at
org.eclipse.team.internal.ccvs.ui.console.CVSOutputConsole.a ccess$1(CVSOutpu
tConsole.java:137)
at
org.eclipse.team.internal.ccvs.ui.console.CVSOutputConsole$1 .run(CVSOutputCo
nsole.java:108)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:106)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:2709)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2401)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1375)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1346)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:252)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:141)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:96)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.
java:335)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:272)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:128)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39
)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl
..java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.eclipse.core.launcher.Main.basicRun(Main.java:186)
at org.eclipse.core.launcher.Main.run(Main.java:647)
at org.eclipse.core.launcher.Main.main(Main.java:631)
"Ichbin" <weconsultants@epix.net> wrote in message
news:cd1cdc$pji$1@eclipse.org...

> Yesterday I download a few plug-in and now Eclipse on startup, will
startup
> display the main IDE then closes and display an error response window. It
> says that it had a JVM error rc=1. This has been intermitted in the
> past.but this is happening more since I added more plug-ins. I have a
> feeling it is due to memory but can not prove it. There is no log built
for
> this error.
>
> If it is memory is there a way to increase memory for the JVM Eclipse is
> loading at execution of startup.
>
> Or has anybody experienced this error also?
>
> Thanks in advance...
>
>
Re: Memory problem with JVM..? [message #261550 is a reply to message #261284] Wed, 14 July 2004 18:19 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: douglas.pollock.magma.ca

Ichbin wrote:
> past.but this is happening more since I added more plug-ins. I have a
> feeling it is due to memory but can not prove it. There is no log built
> for this error.

Try running with "-clean".


> If it is memory is there a way to increase memory for the JVM Eclipse is
> loading at execution of startup.

To increase memory, do something similar to the following: "-vmargs
-Xmx256m". This increases the maximum heap size for your JVM to 256MB.



cheers,
d.
Re: Memory problem with JVM..? [message #261616 is a reply to message #261550] Thu, 15 July 2004 03:04 Go to previous messageGo to next message
William E. Taylor is currently offline William E. TaylorFriend
Messages: 51
Registered: July 2009
Member
Thanks Doug,

I added the -clean option and looks good because I had a lot of other app's
running and Eclipse came up with no problems. I noticed that it came up slow
but that is because I have to set some rules in my antivirus program. You
made my day! I was getting concerned. Could you direct me to the options for
invoking the eclipse.exe? Not to be lazy.. I need to know to better
understand the working's of Eclipse...

Thanks again!


"Douglas Pollock" <douglas.pollock@magma.ca> wrote in message
news:cd3tdb$s9m$1@eclipse.org...
> Ichbin wrote:
> > past.but this is happening more since I added more plug-ins. I have a
> > feeling it is due to memory but can not prove it. There is no log built
> > for this error.
>
> Try running with "-clean".
>
>
> > If it is memory is there a way to increase memory for the JVM Eclipse
is
> > loading at execution of startup.
>
> To increase memory, do something similar to the following: "-vmargs
> -Xmx256m". This increases the maximum heap size for your JVM to 256MB.
>
>
>
> cheers,
> d.
>
Re: Memory problem with JVM..? [message #261747 is a reply to message #261616] Thu, 15 July 2004 13:48 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: douglas.pollock.magma.ca

Ichbin wrote:
> but that is because I have to set some rules in my antivirus program. You
> made my day! I was getting concerned. Could you direct me to the options
> for invoking the eclipse.exe? Not to be lazy.. I need to know to better
> understand the working's of Eclipse...

It looks like it is out of date, but the options can be found in Help > Help
Contents > Workbench User Guide > Tasks > Running Eclipse.



cheers,
d.
Re: Memory problem with JVM..? [message #261776 is a reply to message #261616] Thu, 15 July 2004 14:24 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: richkulp.NO.SPAM.us.ibm.com

You only need the -clean once. Don't use it every time. That is why it
was slow coming up. It had to re-read all of the plugin.xml's and cache
the information. Clean tells it to ignore the cache. You only need to
use clean if you changed/replaced existing plugins/features and didn't
use the update manager to do it. That way it knows to clear the cache
and see the changes.

Ichbin wrote:

> Thanks Doug,
>
> I added the -clean option and looks good because I had a lot of other app's
> running and Eclipse came up with no problems. I noticed that it came up slow
> but that is because I have to set some rules in my antivirus program. You
> made my day! I was getting concerned. Could you direct me to the options for
> invoking the eclipse.exe? Not to be lazy.. I need to know to better
> understand the working's of Eclipse...


--
Thanks, Rich Kulp

Re: Memory problem with JVM..? [message #261813 is a reply to message #261776] Thu, 15 July 2004 16:02 Go to previous messageGo to next message
William E. Taylor is currently offline William E. TaylorFriend
Messages: 51
Registered: July 2009
Member
Thanks Rick...

I still see Norton Antivirus looking at the jar files at load time also...
could be because of the -clean option

"Rich Kulp" <richkulp@NO.SPAM.us.ibm.com> wrote in message
news:cd641b$aiq$2@eclipse.org...
> You only need the -clean once. Don't use it every time. That is why it
> was slow coming up. It had to re-read all of the plugin.xml's and cache
> the information. Clean tells it to ignore the cache. You only need to
> use clean if you changed/replaced existing plugins/features and didn't
> use the update manager to do it. That way it knows to clear the cache
> and see the changes.
>
> Ichbin wrote:
>
> > Thanks Doug,
> >
> > I added the -clean option and looks good because I had a lot of other
app's
> > running and Eclipse came up with no problems. I noticed that it came up
slow
> > but that is because I have to set some rules in my antivirus program.
You
> > made my day! I was getting concerned. Could you direct me to the options
for
> > invoking the eclipse.exe? Not to be lazy.. I need to know to better
> > understand the working's of Eclipse...
>
>
> --
> Thanks, Rich Kulp
> 
>
Re: Memory problem with JVM..? [message #261843 is a reply to message #261813] Thu, 15 July 2004 17:53 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.NO.SPAM.us.ibm.com

I don't know anything about Norton. But -clean should not have anything
to do with it. Norton doesn't know you specified -clean. It should only
be looking at the files when they are changed or during an entire system
scan to see if a virus has been added. It shouldn't be looking at them
on just load.


--
Thanks, Rich Kulp

Previous Topic:Eclipse 3.1 M1
Next Topic:command attribute in org.eclipse.ui.editors extension point
Goto Forum:
  


Current Time: Thu Jul 25 18:47:14 GMT 2024

Powered by FUDForum. Page generated in 0.04175 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top