Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

Welcome to the CollectiveAccess support forum! Here the developers and community answer questions related to use of the software. Please include the following information in every new issue posted here:

  1. Version of the software that is used, along with browser and version

  2. If the issue pertains to Providence, Pawtucket or both

  3. What steps you’ve taken to try to resolve the issue

  4. Screenshots demonstrating the issue

  5. The relevant sections of your installation profile or configuration including the codes and settings defined for your local elements.


If your question pertains to data import or export, please also include:

  1. Data sample

  2. Your mapping


Answers may be delayed for posts that do not include sufficient information.

Memory problems with big lists

I have a very large list (lexicon3 terms). When I try to use a version of Prov. from git (any version that uses /vendor/tedivm/stash/src/Stash/Driver/FileSystem/NativeEncoder.php) I am unable to load an editor page that has the list - Fatal error: Out of memory (allocated 187777024) (tried to allocate 15243704 bytes) in /hermes/bosnaweb28a/b1269/ipw.pelhamhs/public_html/ca/vendor/tedivm/stash/src/Stash/Driver/FileSystem/NativeEncoder.php on line 63

It seems that the entire list is trying to be loaded into memory by the serialize function....and it is too big (why is the entire list loading at once, and not just the expanded branches of the hierachy)

In versions of Prov that still have /lib divided (/lib/ca, /lib/core) I can load the list just fine.

Help!
Any ideas? Is there some easy way to turn a large list into an information service?
Thanks
Bruce

Comments

  • Ive tried using define('CA_CACHE_BACKEND', 'sqlite'); as well and also run into memory issues.

  • Also, I can browse the list just fine in [Manage]->[Lists & vocabularies].

Sign In or Register to comment.