Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Subversive » Check out as folder - out of memory
Check out as folder - out of memory [message #559193] Wed, 15 September 2010 18:07 Go to next message
Vladimir Grishchenko is currently offline Vladimir Grishchenko
Messages: 76
Registered: July 2009
Member
We are running into out of memory situation when trying to check out a fairly large project (55k files) via "Check out as a folder into existing project", tried to bump up the max heap space to 2G but to no avail. A direct checkout works fine. Bug?
Re: Check out as folder - out of memory [message #559284 is a reply to message #559193] Thu, 16 September 2010 05:32 Go to previous messageGo to next message
Alexander Gurov is currently offline Alexander Gurov
Messages: 85
Registered: July 2009
Member
Hi,

I checked through "Checkout As Folder" code, but there is no "memory hog" as far as I can see. So, the issue is related to either: SVN client library or real "Out of memory" case for your Eclipse instance. Despite you increased Java machine memory pool size up to 2Gb there is also one another memory related moment. So, please check following article and I hope it will help you:

http://wiki.eclipse.org/FAQ_How_do_I_increase_the_permgen_si ze_available_to_Eclipse%3F
Re: Check out as folder - out of memory [message #559456 is a reply to message #559284] Thu, 16 September 2010 13:06 Go to previous messageGo to next message
Vladimir Grishchenko is currently offline Vladimir Grishchenko
Messages: 76
Registered: July 2009
Member
This doesn't appear to be a perm-gen issue, for which, speaking from my prior experience, 1.6 Sun VM would produce a specific error message like "out of perm-gen space" which we do not see. I spent quite a bit of time trying different things and it actually appears that the problem is intermittent, but it occurs more often when checking out as a folder and it does occasionally occur during a straightforward checkout, as it did succeed and failed a couple of times in both scenarios. Eclipse's memory indicator stays around 40M when things work, and goes up to the max allowed heap size (approximately) when they don't. A complete stack trace is below. Can a native connector help in our case? Not sure if it matters but the IDE is running on Linux and we are using http to access the repo.

java.lang.OutOfMemoryError: Java heap space
at com.sun.org.apache.xerces.internal.util.XMLStringBuffer.appe nd(XMLStringBuffer.java:208)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerIm pl.refresh(XMLDocumentScannerImpl.java:1495)
at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.inv okeListeners(XMLEntityScanner.java:2047)
at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.pee kChar(XMLEntityScanner.java:463)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentS cannerImpl$FragmentContentDriver.next(XMLDocumentFragmentSca nnerImpl.java:2655)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerIm pl.next(XMLDocumentScannerImpl.java:624)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScanner Impl.next(XMLNSDocumentScannerImpl.java:116)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentS cannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java: 486)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuratio n.parse(XML11Configuration.java:810)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuratio n.parse(XML11Configuration.java:740)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(X MLParser.java:110)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser .parse(AbstractSAXParser.java:1208)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSA XParser.parse(SAXParserImpl.java:525)
at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.r eadData(HTTPConnection.java:746)
at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.r eadData(HTTPConnection.java:711)
at org.tmatesoft.svn.core.internal.io.dav.http.HTTPRequest.disp atch(HTTPRequest.java:215)
at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.r equest(HTTPConnection.java:346)
at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.r equest(HTTPConnection.java:274)
at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.r equest(HTTPConnection.java:262)
at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.doRepor t(DAVConnection.java:258)
at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.runRepo rt(DAVRepository.java:1211)
at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.update( DAVRepository.java:1077)
at org.tmatesoft.svn.core.wc.SVNUpdateClient.update(SVNUpdateCl ient.java:453)
at org.tmatesoft.svn.core.wc.SVNUpdateClient.doCheckout(SVNUpda teClient.java:875)
at org.tmatesoft.svn.core.javahl.SVNClientImpl.checkout(SVNClie ntImpl.java:2052)
at org.polarion.team.svn.connector.svnkit.SVNKitConnector.check out(SVNKitConnector.java:198)
at org.eclipse.team.svn.core.extension.factory.ThreadNameModifi er.checkout(ThreadNameModifier.java:78)
at org.eclipse.team.svn.core.operation.file.CheckoutAsOperation .runImpl(CheckoutAsOperation.java:57)
at org.eclipse.team.svn.core.operation.AbstractActionOperation. run(AbstractActionOperation.java:81)
at org.eclipse.team.svn.core.utility.ProgressMonitorUtility.doT ask(ProgressMonitorUtility.java:104)
at org.eclipse.team.svn.core.operation.CompositeOperation.runIm pl(CompositeOperation.java:95)
at org.eclipse.team.svn.core.operation.AbstractActionOperation. run(AbstractActionOperation.java:81)
Re: Check out as folder - out of memory [message #559513 is a reply to message #559193] Thu, 16 September 2010 19:22 Go to previous messageGo to next message
Vladimir Grishchenko is currently offline Vladimir Grishchenko
Messages: 76
Registered: July 2009
Member
Update: everything works just fine through JavaHL , so seems like a connector issue...
Re: Check out as folder - out of memory [message #559533 is a reply to message #559513] Fri, 17 September 2010 00:43 Go to previous messageGo to next message
Jörg Thönnes is currently offline Jörg Thönnes
Messages: 229
Registered: July 2009
Senior Member
On 09/17/2010 01:22 AM, Vladimir Grishchenko wrote:
> Update: everything works just fine through JavaHL , so seems like a
> connector issue...

Could you report this to SVNKit? It seems related to them as the stack trace also indicated.

Thanks, Jörg
Re: Check out as folder - out of memory [message #559537 is a reply to message #559193] Fri, 17 September 2010 01:36 Go to previous message
Vladimir Grishchenko is currently offline Vladimir Grishchenko
Messages: 76
Registered: July 2009
Member
It turns out they already track a very similar issue, there was another one opened but it is closed now as not reproducible.

http://svnkit.com/tracker/view.php?id=375
Previous Topic:Connector installation from archived site
Next Topic:HowTo install Subversive Headless?
Goto Forum:
  


Current Time: Thu Jul 31 11:41:57 EDT 2014

Powered by FUDForum. Page generated in 0.03696 seconds