Your svn working copy is in SVN 1.7 format. This happens if you had
subversion 1.7, and started the server without placing SVNKit. We use an
old SVNKit lib which only supports 1.6. To fix this, delete the .svn meta
folders in repo/dep/server, and restart the server.

KasunG

On Sun, Jul 13, 2014 at 2:34 PM, Rajith Vitharana <[email protected]> wrote:

> Hi,
>
> I have created a DSS Cluster according to [1] and [2]. The cluster works
> fine. But when I tried to put depsync to the cluster according to [3],
> worker node throws following out of memory exception. I tried with changing
> the memory("-Xms1024m -Xmx4096m -XX:MaxPermSize=1024m") in wso2server.sh
> but no luck. It still throws below exception.
>
> java.lang.OutOfMemoryError: Java heap space
> Dumping heap to
> /media/rajith/Office/Wso2/team/dataSourceDeployerFeature/ncore/node2/wso2dss-3.2.1/repository/logs/heap-dump.hprof
> ...
> Heap dump file created [1907658268 bytes in 7.744 secs]
> [2014-07-12 17:06:59,539] ERROR
> {org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask} -  Error
> while running deployment scheduler..
> java.lang.OutOfMemoryError: Java heap space
>  at java.util.Arrays.copyOf(Arrays.java:2882)
> at
> java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:100)
>  at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:390)
> at java.lang.StringBuffer.append(StringBuffer.java:224)
>  at
> org.tmatesoft.svn.core.SVNErrorMessage.getFullMessage(SVNErrorMessage.java:257)
> at
> org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:58)
>  at
> org.tmatesoft.svn.core.internal.wc.admin.SVNAdminAreaFactory.open(SVNAdminAreaFactory.java:163)
> at
> org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.doOpen(SVNWCAccess.java:364)
>  at
> org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.open(SVNWCAccess.java:272)
> at
> org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.open(SVNWCAccess.java:265)
>  at
> org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.open(SVNWCAccess.java:261)
> at
> org.tmatesoft.svn.core.wc.SVNStatusClient.doStatus(SVNStatusClient.java:316)
>  at
> org.tmatesoft.svn.core.javahl.SVNClientImpl.status(SVNClientImpl.java:296)
> at
> org.tmatesoft.svn.core.javahl.SVNClientImpl.status(SVNClientImpl.java:278)
>  at
> org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter.getStatus(AbstractJhlClientAdapter.java:542)
> at
> org.tigris.subversion.svnclientadapter.svnkit.SvnKitClientAdapter.getStatus(SvnKitClientAdapter.java:144)
>  at
> org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter.getStatus(AbstractJhlClientAdapter.java:506)
> at
> org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter.getSingleStatus(AbstractJhlClientAdapter.java:497)
>  at
> org.wso2.carbon.deployment.synchronizer.subversion.SVNBasedArtifactRepository.checkout(SVNBasedArtifactRepository.java:401)
> at
> org.wso2.carbon.deployment.synchronizer.internal.DeploymentSynchronizer.checkout(DeploymentSynchronizer.java:181)
>  at
> org.wso2.carbon.deployment.synchronizer.internal.DeploymentSynchronizerServiceImpl.update(DeploymentSynchronizerServiceImpl.java:87)
> at
> org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.deploymentSyncUpdate(CarbonDeploymentSchedulerTask.java:165)
>  at
> org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.run(CarbonDeploymentSchedulerTask.java:123)
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
>  at
> java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
> at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
>  at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
> at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180)
>  at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
>  at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
> at java.lang.Thread.run(Thread.java:662)
>
> Any idea how to avoid this?
>
> [1] - http://docs.wso2.com/display/CLUSTER420/Setting+up+the+Database
> [2] - http://docs.wso2.com/display/Cluster/Creating+a+Cluster
> [3] -
> http://docs.wso2.com/display/Cluster/SVN-based+Deployment+Synchronizer
>
> Thanks,
> --
> Rajith Vitharana
>
> Software Engineer,
> WSO2 Inc. : wso2.com
> Mobile : +94715883223
> Blog : http://lankavitharana.blogspot.com/
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

*Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
email: kasung AT spamfree wso2.com
linked-in: http://lk.linkedin.com/in/gajasinghe
blog: http://kasunbg.org
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to