Instant Upload - Server address changed, syncing files again problematic

I changed the web address for my Nextcloud server to a new domain name. This caused me to have to set it up as an entirely new account in the Android app. When starting InstantUpload again and then connecting to the same account on the server end, obviously all the photos, etc. on my phone are already on the server. But, it’s still trying to upload them all again and having a conflict.

This also seems to be causing app crashes. As the upload queue grows, eventually I get a java app crash. I’m assuming it’s related. See the error below.

So, how do I make the app resolve that all the files are already there without having to recheck thousands of files?

### Cause of error
Exception in thread "Thread-41" java.lang.OutOfMemoryError: Failed to allocate a 32 byte allocation with 4885672 free bytes and 4771KB until OOM, target footprint 536870912, growth limit 536870912; giving up on allocation because <1% of heap free after GC.
    at okhttp3.internal.concurrent.TaskRunner.newQueue(TaskRunner.kt:233)
    at okhttp3.internal.http2.Http2Connection.<init>(Http2Connection.kt:89)
    at okhttp3.internal.http2.Http2Connection$
    at okhttp3.internal.connection.RealConnection.startHttp2(RealConnection.kt:160)
    at okhttp3.internal.connection.RealConnection.start(RealConnection.kt:146)
    at okhttp3.internal.connection.ConnectPlan.connectTlsEtc(ConnectPlan.kt:211)
    at okhttp3.internal.connection.FastFallbackExchangeFinder.find(FastFallbackExchangeFinder.kt:78)
    at okhttp3.internal.connection.RealCall.initExchange$okhttp(RealCall.kt:267)
    at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.kt:32)
    at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
    at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.kt:95)
    at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
    at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.kt:84)
    at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
    at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.kt:65)
    at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
    at okhttp3.internal.connection.RealCall.getResponseWithInterceptorChain$okhttp(RealCall.kt:205)
    at okhttp3.internal.connection.RealCall.execute(RealCall.kt:158)
    at com.nextcloud.common.OkHttpMethodBase.execute(OkHttpMethodBase.kt:175)
    at$$ Source:10)

### App information
* ID: `com.nextcloud.client`
* Version: `30220390`
* Build flavor: `gplay`

### Device information
* Brand: `samsung`
* Device: `b0q`
* Model: `SM-S908U`
* Id: `TP1A.220624.014`
* Product: `b0qsqw`

### Firmware
* SDK: `33`
* Release: `13`
* Incremental: `S908USQU2BVK1`