Before asking for help please read "Requesting Help and Suggestions" by clicking on that tab above here.
  • Page:
  • 1

TOPIC:

Clipping cart export failed due to lack of memory size 1 month 3 weeks ago #1

  • schucobn
  • schucobn's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 12
Trying to download a clipping cart with about 1400 individuals I get a server error:

AH01071: Got error 'PHP message: PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 737280 bytes) in ....vendor/league/flysystem/src/Adapter/Polyfill/StreamedWritingTrait.php on line 23\n', referer: https:..../index.php?route=%2Fmodule%2Fclippings%2FDownloadForm%2Ftree1

Is there a way to exclude media from export (similar to export a gedcom file)?

PHP-Version 7.2.34
webtrees 2.0.16

Please Log in or Create an account to join the conversation.

Last edit: by schucobn. Reason: adding system info

Clipping cart export failed due to lack of memory size 1 month 3 weeks ago #2

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 14878
There isn't an option for this.

But there is a possible workaround.

Media files are only included if they exists.
If they do not exist, then they are ignored.

So, you could temporarily change the "Media folder" setting for the family tree from, "media/" to "no-such-folder/".
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

Clipping cart export failed due to lack of memory size 1 month 3 weeks ago #3

  • schucobn
  • schucobn's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 12
Thank you for fast reply and help.
As suggested I temporarily changed Media folder setting from "media/" to "gibsnich/".

However the workaround did not really help in my case.
The download from the clipping cart worked now, as there was much less capacity used when the media were not included.
I indended to reimport the data from the clipping cart to get a new separate tree and
I hoped, to get use of all media files already in the database stored under path "media".

The import into the new tree worked too, but there were no media available.
The downloaded file from the clipping cart contained records like
0 @M1147@ OBJE
1 FILE gibsnich/Hoerdemann Pilgrim - Hofgeschichte aus 1100 Jahre Huckarde.jpg
2 FORM jpeg


So I edited the downloaded file to get
0 @M1147@ OBJE
1 FILE media/Hoerdemann Pilgrim - Hofgeschichte aus 1100 Jahre Huckarde.jpg
2 FORM jpeg

and started to build the new tree again.

But even now not the existing media objects from the origial tree were accessed. Rather new empty media objects were created.

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Powered by Kunena Forum