Performance issue

Enonic version: 6.12.1
OS: Centos OS

Hi ,

We have created a content type where we are adding fragments and image for some countries.If we add less data ,it works fine but when we tried in out in production environment ,we added around 90 countries (need to add more) and while trying to open it in content studio ,the page freezes and we have to kill the browser.It quire critical for us to know the cause for it as we need to go live soon for that page.

Do you see any issues in content type creation(any sort of wrong looping) or it is just performance issue from Enonic ?

This is my content type created


Christmas deadline info base:structured true Country List Country name Related fragments system:reference portal:fragment ${site}
            <item-set name="productList">
                <label>Product details</label>
                <occurrences minimum="1" maximum="0"/>
                <items>
                <input name="productImage" type="ContentSelector">
                    <label>Product image</label>
                    <occurrences minimum="1" maximum="1"/>
                    <config>
                        <relationship>system:reference</relationship>
                        <allowType>media:vector</allowType>
                        <allowPath>${site}</allowPath>
                    </config>
                </input>
                 <input name="productImageforMobile" type="ContentSelector">
                        <label>Product image for mobile</label>
                        <occurrences minimum="1" maximum="1"/>
                        <config>
                            <relationship>system:reference</relationship>
                            <allowType>media:vector</allowType>
                            <allowPath>${site}</allowPath>
                        </config>
                    </input>
                <input name="productName" type="TextLine">
                    <label>Product name</label>
                    <occurrences minimum="1" maximum="1"/>
                </input>
                <input name="deadLineDate" type="DateTime">
                    <label>Deadline date</label>
                    <occurrences minimum="1" maximum="1"/>
                </input>
                </items>
            </item-set>

        </items>
    </item-set>
</form>

Some how it is editing my content type while pasting in thread here ,so adding the image for top content and it is not showing content type tag at end of xml.

----------

Maybe you could try pasting the content type again, select the entire text and click on the markup icon in the editor, alternatively upload it as an attachment.

Also, it would be nice if you could attach an export of a content item with all the data you mention, as punching 90 items would be slow. Just use the data toolbox app, export and attach the zip.

I have exported the content type and added the content type and its JSON in the link below:
Pls let me know if it is not accessible
https://www.dropbox.com/sh/amve2q1swmgo38w/AAAnljvbKDzD5iMdlZ7rkGPba?dl=0

I can confirm this is not working at all. Looks like you are a subscription customer, please create a support request for this case and refer to this post :slight_smile:

Also, based on the structure of your content, a recommended quick-fix to get around this problem is simply to split this huge document into several smaller documents instead. For instance one per country!

1 Like