Umbraco: high memory usage for a small site
u
First a few words about our setup: We are using the latest version of Umbraco v12.2.0 with Flexible Load Balancing on Docker containers running Ubuntu Linux. We are having currently one publisher (Backoffice) and one subscriber (front-end). We went with headless approach using Umbraco Content Delivery API. For media we are using S3. API content is served through Kestrel inside front-end docker container. Both containers (subscriber and publisher) are using the same instance of Sql Server. Installed packages in Umbraco: - Umbraco Workflow v12.1.1 - uSync v12.1.0 In the Backoffice we have currently two sites, with up to 15 sub-pages on each. We also used multilingual setup, each page has content for two languages. Every page consists of a few blocks on block grid. The size of the DB is around 190MB (so nothing huge in any case). Our issue (this can be reproduced on each docker containers restart): I just focues on the front-end/subscriber container here. The same can be also noticed on the Backoffice container (publisher). When front-end (subscriber) docker container starts, it uses around 160MB of memory looking at docker stats. Right after the first request is made to the front-end, memory jumps to around 280MB. About half a minute from the first request, memory jumps again to around 1,7GB. At the time of the big memory jump (from 280MB -> 1,7GB) I see bunch of messages in logs like: DeliveryApiContentIndex Write lucene doc id:{id}|{languageCode}, category:{category}, type:{type} So I would say the Examine index is the cause of the high memory consumption. I also verified Examine indexes in the publisher Backoffice (can't access front-end because Backoffice is disabled): - DeliveryApiContentIndex: DocumentCount=146, FieldCount=22 - ExternalIndex: DocumentCount=284, FieldCount=849 - InternalIndex: DocumentCount=297, FieldCount=1054 - MemberIndex: DocumentCount=0, FieldCount=0 Is maybe someone else also noticing high memory consumption?
z
Hey, did you manage to find any fix for this memory jump. Mine has been out of memory a couple of times however now it's sitting at 2gb even while idle.
147 Views