1. What is the problem? Be very detailed.
We are having problems uploading forms with many (100+, 8-10mb each) image files. We've tried uploading remotely over wifi, as we do for most of our forms, but the submission fails or times out at some point. This isn't totally unexpected as we are looking at +1GB instances. Pulling the data using Briefcase works fine, but it's throwing an error when I try to push the data back to the aggregate server (see below). It's not ideal that we can't upload these forms remotely, but I at least need Briefcase to be able to handle it.
2. What app or server are you using and on what device and operating system? Include version numbers.
Collect 1.28
Aggregate 1.4.15
Briefcase 1.18
3. What you have you tried to fix the problem?
Pushing data with Briefcase, manually uploading submission in Aggregate (nothing happens after clicking to upload the submission)
4. What steps can we take to reproduce the problem?
5. Anything else we should know or have? If you have a test form or screenshots or logs, attach below.
2020-12-01 10:38:55,037 [ForkJoinPool-5-worker-1] INFO XFormParser - Creating FormDef from parsed XML finished in 5.216 ms
2020-12-01 10:39:02,478 [ForkJoinPool-6-worker-1] INFO o.o.b.p.a.PushToAggregateTracker - Push Cultural Heritage Form - Start pushing form and submissions
2020-12-01 10:39:02,489 [ForkJoinPool-6-worker-1] INFO o.o.b.p.a.PushToAggregateTracker - Push Cultural Heritage Form - Form already exists in Aggregate
2020-12-01 10:39:02,495 [ForkJoinPool-6-worker-3] INFO o.o.b.p.a.PushToAggregateTracker - Push Cultural Heritage Form - Sending submission 1 of 4 (1/42)
2020-12-01 10:39:02,495 [ForkJoinPool-6-worker-1] INFO o.o.b.p.a.PushToAggregateTracker - Push Cultural Heritage Form - Sending submission 2 of 4 (1/44)
2020-12-01 10:39:02,511 [ForkJoinPool-6-worker-2] INFO o.o.b.p.a.PushToAggregateTracker - Push Cultural Heritage Form - Sending submission 3 of 4 (1/141)
2020-12-01 10:39:02,513 [ForkJoinPool-6-worker-4] INFO o.o.b.p.a.PushToAggregateTracker - Push Cultural Heritage Form - Sending submission 4 of 4 (1/131)
2020-12-01 10:39:03,158 [ForkJoinPool-6-worker-1] ERROR o.o.briefcase.reused.job.JobsRunner - Error running Job
java.lang.OutOfMemoryError: null
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.util.concurrent.ForkJoinTask.getThrowableException(Unknown Source)
at java.util.concurrent.ForkJoinTask.reportException(Unknown Source)
at java.util.concurrent.ForkJoinTask.invoke(Unknown Source)
at java.util.stream.ForEachOps$ForEachOp.evaluateParallel(Unknown Source)
at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateParallel(Unknown Source)
at java.util.stream.AbstractPipeline.evaluate(Unknown Source)
at java.util.stream.ReferencePipeline.forEach(Unknown Source)
at java.util.stream.ReferencePipeline$Head.forEach(Unknown Source)
at org.opendatakit.briefcase.push.aggregate.PushToAggregate.lambda$push$7(PushToAggregate.java:95)
at org.opendatakit.briefcase.reused.job.Job.lambda$thenAccept$8(Job.java:134)
at org.opendatakit.briefcase.reused.job.Job.lambda$thenRun$6(Job.java:109)
at org.opendatakit.briefcase.reused.job.JobsRunner.lambda$launchAsync$1(JobsRunner.java:65)
at java.util.concurrent.ForkJoinTask$AdaptedRunnableAction.exec(Unknown Source)
at java.util.concurrent.ForkJoinTask.doExec(Unknown Source)
at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(Unknown Source)
at java.util.concurrent.ForkJoinPool.runWorker(Unknown Source)
at java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source)
Caused by: java.lang.OutOfMemoryError: Java heap space