I am not able to upload recent Snomed data. Anyone managed to do this? please advise...
hapi-fhir-cli upload-terminology -d /Users/satv/Downloads/SnomedCT_ManagedServiceUS_PRODUCTION_US1000124_20240301T120000Z.zip -v r4 -t http://localhost:8080/fhir -u http://snomed.info/sct -s 12GB
🔥 HAPI FHIR 8.0.0 - Command Line Tool
Process ID : 31287
Max configured JVM memory (Xmx) : 8.0GB
Detected Java version : 23.0.2
2025-04-11 22:03:49.25 [main] INFO c.u.f.c.LogbackUtil Logging configuration set from file /logback-cli-on.xml
Standard Commons Logging discovery in action with spring-jcl: please remove commons-logging.jar from classpath in order to avoid potential conflicts
2025-04-11 22:03:49.73 [main] INFO c.u.f.c.UploadTerminologyCommand Reading /Users/satv/Downloads/SnomedCT_ManagedServiceUS_PRODUCTION_US1000124_20240301T120000Z.zip
2025-04-11 22:03:49.73 [main] INFO c.u.f.c.UploadTerminologyCommand Adding ZIP file: /Users/satv/Downloads/SnomedCT_ManagedServiceUS_PRODUCTION_US1000124_20240301T120000Z.zip
2025-04-11 22:03:55.02 [main] INFO c.u.f.c.UploadTerminologyCommand Beginning upload - This may take a while...
2025-04-11 22:04:14.02 [main] ERROR c.u.f.c.UploadTerminologyCommand Received the following response:
{
"resourceType": "OperationOutcome",
"issue": [ {
"severity": "error",
"code": "processing",
"diagnostics": "Java heap space"
} ]
}
2025-04-11 22:04:14.02 [main] ERROR ca.uhn.fhir.cli.App Error during execution:
ca.uhn.fhir.rest.server.exceptions.InternalErrorException: HTTP 500 : Java heap space
at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62)
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:501)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:485)
at ca.uhn.fhir.rest.server.exceptions.BaseServerResponseException.newInstance(BaseServerResponseException.java:317)
at ca.uhn.fhir.rest.client.impl.BaseClient.invokeClient(BaseClient.java:415)
at ca.uhn.fhir.rest.client.impl.GenericClient$BaseClientExecutable.invoke(GenericClient.java:585)
at ca.uhn.fhir.rest.client.impl.GenericClient$OperationInternal.execute(GenericClient.java:1441)
at ca.uhn.fhir.cli.UploadTerminologyCommand.invokeOperation(UploadTerminologyCommand.java:255)
at ca.uhn.fhir.cli.UploadTerminologyCommand.run(UploadTerminologyCommand.java:151)
at ca.uhn.fhir.cli.BaseApp.run(BaseApp.java:272)
at ca.uhn.fhir.cli.App.main(App.java:42)
2025-04-11 22:04:14.03 [Thread-0] INFO ca.uhn.fhir.cli.App HAPI FHIR is shutting down...