Hi all,

We have a publication with about 1000 assets. If we try to insert new assets with the usecase editors.insertAsset from the oneform editor the heap raises up 1 GB which runs into out of heap memory when we call it a second time and lenya stops working.

I think the problem is that the metadata of all assets have to be read to build up the listing.

Here a two suggestions to solve this problem:

1) Use a usecase like editors.insertLink for images and assets. Only the metadata of the child documents have to be read.

2) Provide the information for the listing in the sitetree, so no metadata file content is needed.

WDYT

Rudolf
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to