Memory consumption using resources #2323
martinwurst1
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I have a problem regarding memory consumption of my application, which works as followed:
After receiving a fhir-bundle to validate I check for the version of the bundle. With this information I unpack all tar-bundles related to this version and parse them into 'resources', which are kept in a dictionary. The resources are used by the resourceResolver and terminologyService (same object).
Currently I have to support two versions of the bundle. After the setup of the resources for the first version the memory consumption was ~320mb. The newer version has larger and more resources, it takes ~900mb of memory, which is a problem for me.
I am fully aware that I can't blame you for the larger bundles of the newer version, I simply hope you can tell me a way of reducing my memory consumption.
To show you how the application works I made a simplified console application:
https://github.com/martinwurst1/FhirAuConsole
Beta Was this translation helpful? Give feedback.
All reactions