Java Heap Space issue with Eclipse and VaultPro

If you are having a problem using Vault, post a message here.
Post Reply
lynnroth
Posts: 39
Joined: Mon Aug 01, 2005 2:51 pm
Location: Wauseon, OH
Contact:

Java Heap Space issue with Eclipse and VaultPro

Post by lynnroth » Thu Dec 13, 2012 7:14 am

This seems similar to http://support.sourcegear.com/viewtopic ... 63&p=63534 except that we are doing this from the Eclipse integrated client and not the command line.

We can attach to smaller/test repositories, but when we attempt to connect to our production repository, we get:

Unhandled event loop exception
Java heap space
eclipse1.jpg
eclipse2.jpg
Is there any way to adjust the settings to make this work?
You do not have the required permissions to view the files attached to this post.
Lynn Roth
Interactive Financial Solutions, Inc.

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Java Heap Space issue with Eclipse and VaultPro

Post by Beth » Thu Dec 13, 2012 8:51 am

Are you on a Windows machine, Mac or Linux?

Do other machines have the same issue?

Does the same thing happen if you either try a Get from a Vault GUI client or from a command-line client?
Beth Kieler
SourceGear Technical Support

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Java Heap Space issue with Eclipse and VaultPro

Post by Beth » Thu Dec 13, 2012 9:26 am

In addition to my last post, did you try increasing the Java heap space?

Check out this post from the Eclipse site: http://wiki.eclipse.org/FAQ_How_do_I_in ... Eclipse%3F.

This was also mentioned in the thread you referenced:
Another thing you could try is to increase the JVM heap size.
The -Xms### and -Xmx### may help.
For instance, adding "-Xms64M -Xmx768M" to the java command line will start the JVM with a heap of 64MB and allow it to grow to 768MB. Fine tuning those params may help getting the command line running on larger repositories.
Beth Kieler
SourceGear Technical Support

lynnroth
Posts: 39
Joined: Mon Aug 01, 2005 2:51 pm
Location: Wauseon, OH
Contact:

Re: Java Heap Space issue with Eclipse and VaultPro

Post by lynnroth » Thu Dec 13, 2012 11:32 am

This is Windows.

I just tried the command line args like:

eclipse.exe -Xms4048M -Xmx8048M
(I tried smaller values to start with)

and it still gets the same error.
Lynn Roth
Interactive Financial Solutions, Inc.

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Java Heap Space issue with Eclipse and VaultPro

Post by Beth » Thu Dec 13, 2012 1:53 pm

Try instead putting the change into your Eclipse.ini file as mentioned in the article here: http://wiki.eclipse.org/FAQ_How_do_I_in ... Eclipse%3F. Any change?
Beth Kieler
SourceGear Technical Support

lynnroth
Posts: 39
Joined: Mon Aug 01, 2005 2:51 pm
Location: Wauseon, OH
Contact:

Re: Java Heap Space issue with Eclipse and VaultPro

Post by lynnroth » Thu Dec 13, 2012 2:04 pm

That works great. Thank you for your help.
Lynn Roth
Interactive Financial Solutions, Inc.

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Java Heap Space issue with Eclipse and VaultPro

Post by Beth » Thu Dec 13, 2012 3:13 pm

Thank you for the update. Happy to hear you're working.
Beth Kieler
SourceGear Technical Support

Post Reply