{"action":"created","issue":{"url":"https://api.github.com/repos/plone/Products.CMFPlone/issues/1572","repository_url":"https://api.github.com/repos/plone/Products.CMFPlone","labels_url":"https://api.github.com/repos/plone/Products.CMFPlone/issues/1572/labels{/name}","comments_url":"https://api.github.com/repos/plone/Products.CMFPlone/issues/1572/comments","events_url":"https://api.github.com/repos/plone/Products.CMFPlone/issues/1572/events","html_url":"https://github.com/plone/Products.CMFPlone/issues/1572","id":152783110,"number":1572,"title":"Simple registry.xml entry leads  to complete memory allocation/memory bomb","user":{"login":"zopyx","id":594239,"avatar_url":"https://avatars.githubusercontent.com/u/594239?v=3","gravatar_id":"","url":"https://api.github.com/users/zopyx","html_url":"https://github.com/zopyx","followers_url":"https://api.github.com/users/zopyx/followers","following_url":"https://api.github.com/users/zopyx/following{/other_user}","gists_url":"https://api.github.com/users/zopyx/gists{/gist_id}","starred_url":"https://api.github.com/users/zopyx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zopyx/subscriptions","organizations_url":"https://api.github.com/users/zopyx/orgs","repos_url":"https://api.github.com/users/zopyx/repos","events_url":"https://api.github.com/users/zopyx/events{/privacy}","received_events_url":"https://api.github.com/users/zopyx/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-05-03T14:11:12Z","updated_at":"2016-05-04T06:54:56Z","closed_at":null,"body":"Plone 5.1a.\r\n\r\nI added the following registry.xml record to the almost empty registry.xml\r\n\r\nhttps://github.com/xml-director/xmldirector.plonecore/blob/master/xmldirector/plonecore/profiles/common/registry.xml\r\n\r\n```\r\n<record name=\"plone.displayed_types\" interface=\"Products.CMFPlone.interfaces.controlpanel.INavigationSchema\" field=\"displayed_types\">\r\n    <field type=\"plone.registry.field.Tuple\">\r\n      <default>\r\n        <element>Image</element>\r\n        <element>File</element>\r\n        <element>Link</element>\r\n        <element>News Item</element>\r\n        <element>Folder</element>\r\n        <element>Document</element>\r\n        <element>Event</element>\r\n      </default>\r\n      <description xmlns:ns0=\"http://xml.zope.org/namespaces/i18n\" ns0:domain=\"plone\" ns0:translate=\"\">The content types that should be shown in the navigation and site map.</description>\r\n      <missing_value/>\r\n      <required>False</required>\r\n      <title xmlns:ns0=\"http://xml.zope.org/namespaces/i18n\" ns0:domain=\"plone\" ns0:translate=\"\">Displayed content types</title>\r\n      <value_type type=\"plone.registry.field.Choice\">\r\n        <vocabulary>plone.app.vocabularies.ReallyUserFriendlyTypes</vocabulary>\r\n      </value_type>\r\n    </field>\r\n    <value>\r\n      <element>xmldirector.plonecore.connector</element>\r\n      <element>Event</element>\r\n      <element>File</element>\r\n      <element>Folder</element>\r\n      <element>Image</element>\r\n      <element>Link</element>\r\n      <element>News Item</element>\r\n      <element>Document</element>\r\n    </value>\r\n  </record>\r\n\r\n```\r\n\r\nRunning the related import step caused an immediate eating of all available RAM within seconds (machine has 64 GB). Removing the record and re-running the import step works without issues...weird."},"comment":{"url":"https://api.github.com/repos/plone/Products.CMFPlone/issues/comments/216760779","html_url":"https://github.com/plone/Products.CMFPlone/issues/1572#issuecomment-216760779","issue_url":"https://api.github.com/repos/plone/Products.CMFPlone/issues/1572","id":216760779,"user":{"login":"gyst","id":122351,"avatar_url":"https://avatars.githubusercontent.com/u/122351?v=3","gravatar_id":"","url":"https://api.github.com/users/gyst","html_url":"https://github.com/gyst","followers_url":"https://api.github.com/users/gyst/followers","following_url":"https://api.github.com/users/gyst/following{/other_user}","gists_url":"https://api.github.com/users/gyst/gists{/gist_id}","starred_url":"https://api.github.com/users/gyst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gyst/subscriptions","organizations_url":"https://api.github.com/users/gyst/orgs","repos_url":"https://api.github.com/users/gyst/repos","events_url":"https://api.github.com/users/gyst/events{/privacy}","received_events_url":"https://api.github.com/users/gyst/received_events","type":"User","site_admin":false},"created_at":"2016-05-04T06:54:56Z","updated_at":"2016-05-04T06:54:56Z","body":"IIRC in our case this was related to registering legacy CSS/JS resources. We didn't actually need those and removing them avoided the memory bomb. But I've also seen a mitigation of memory explosion by not loading a specific profile that had no such respurces to begin with. So mixed signals."}}