Fatal error: Allowed memory size of 251658240 bytes exhausted

DiscussãoBug Collectors

Aderi ao LibraryThing para poder publicar.

Fatal error: Allowed memory size of 251658240 bytes exhausted

1DuncanHill
Maio 16, 2021, 7:58 pm

Combining two books, they seem to have combined correctly but I received this message - "Fatal error: Allowed memory size of 251658240 bytes exhausted (tried to allocate 82 bytes) in /var/www/html/combine.php on line 1096"

2kristilabrie
Maio 18, 2021, 9:41 am

Can you tell me which work contains the combined books? Thanks.

3DuncanHill
Maio 18, 2021, 5:18 pm

>2 kristilabrie: Can't remember now. Whatever it was I combined just before posting!

4kristilabrie
Maio 19, 2021, 9:54 am

Okay, I'll pass the error message along to developers in case they know more about it than I do, but without a specific example we won't be able to dig to see the problem at hand, if it's a persistent issue.

If you see this crop up again, please let me know what work you combined and this may help!

5Nicole_VanK
Editado: Maio 19, 2021, 10:12 am

>4 kristilabrie: I've encountered it too this week. Like >3 DuncanHill: I don't recall exactly when and where, but will report if I experience this again.

6kristilabrie
Maio 19, 2021, 2:44 pm

ccatalfo thinks he may know where to look/fix this, but thank you if you have any specific examples to look at if you come across them!

7SandraArdnas
Maio 29, 2021, 4:01 pm

Just happened to me. The works was https://www.librarything.com/work/391 . Apparently, the works were combined regardless of the message, so I can't link the other one

8leselotte
Jun 1, 2021, 3:40 am

I think it has to do with combine/separate potential. I stumble about these works all the time - for a while, after combining, the Combine potentials page didn't even open because there are just. so. many. works suggested! The list always starts with Harry Potter and the Goblet of Fire ...

9kristilabrie
Editado: Jun 1, 2021, 10:13 am

I think >8 leselotte: is onto something, definitely. The potential works for combination just don't seem very good. Giving an inordinate amount of bad potential works might be the source of the memory/loading issue. Passing this on to timspalding to see if he can dive into it.

10konallis
Editado: Jun 1, 2021, 10:26 am

NB: The issue with too many works being suggested for combination was reported at https://www.librarything.com/topic/297855.

11SandraArdnas
Jun 1, 2021, 12:57 pm

>9 kristilabrie: FWIW, in my example I combined a single stray issue with the main work through workbench. The main work does have excessive potential combinations, though.

12norabelle414
Jun 1, 2021, 1:12 pm

I just got this error too: https://www.librarything.com/combine.php?work=737443

After a combination is made from the workbench, the next page that loads is the suggested combinations for the combined work. That is the page that fails, not the combination itself.

13r.orrison
Editado: Jun 7, 2021, 4:31 am

It's happened just now for me, after combining a stray work into https://www.librarything.com/work/10230601
Before combining (using the workbench):

After combining:


I've added this work to Bug Collectors: Suggested work combinations oddity

14leselotte
Jun 7, 2021, 5:14 am

It just happened to me again, too: https://www.librarything.com/work/18775079/editions

The error message:
Fatal error: Allowed memory size of 251658240 bytes exhausted (tried to allocate 82 bytes) in /var/www/html/combine.php on line 1096

15kristilabrie
Editado: Jun 7, 2021, 8:49 am

Thanks for the updates, I've alerted the developers about these.

16Taphophile13
Jul 8, 2021, 11:38 am

Just happened while trying to combine 70 copies and 0 copies for
https://www.librarything.com/work/11070897
Apparently the combination did sort of work, at least there are now 71 copies.

Fatal error: Allowed memory size of 251658240 bytes exhausted (tried to allocate 80 bytes) in /var/www/html/combine.php on line 1096

17leselotte
Ago 2, 2021, 5:54 am

Bump

https://www.librarything.com/work/6026

Fatal error: Allowed memory size of 251658240 bytes exhausted (tried to allocate 80 bytes) in /var/www/html/combine.php on line 1098

(Not the first one I've encountered since my last message on June 7 ...)

18Nicole_VanK
Editado: Ago 2, 2021, 6:16 am

Encountered it again a few times too

19Hebor_47294
Ago 2, 2021, 7:06 am

Este utilizador foi removido como sendo spam.

20AbigailAdams26
Ago 2, 2021, 9:43 am

>17 leselotte: I have reminded the developers of this problem.

21leselotte
Ago 3, 2021, 5:58 am

>20 AbigailAdams26: Thank you; much appreciated :)

22DuncanHill
Editado: Ago 15, 2021, 10:03 am

Got it again

Combining work 26641202 into 160601, the combination worked but I got the message "Fatal error: Allowed memory size of 251658240 bytes exhausted (tried to allocate 87 bytes) in /var/www/html/combine.php on line 1098"

I think all of these contain editions starting with "square bracket round bracket" (If I type the actual symbols, the square bracket does not shew up), which LibraryThing thinks should be combined with all other works which have editions starting "square bracket round bracket"

23DuncanHill
Ago 15, 2021, 10:17 am

Happened again combining 26924396 into 273029, again this is a "square bracket round bracket" situation.

24norabelle414
Ago 15, 2021, 10:24 am

>22 DuncanHill:, >23 DuncanHill: Yes there is another bug report for the excessive combination suggestions, over here: https://www.librarything.com/topic/297855, some of which are square-bracket-round-bracket and some of which are not

25timspalding
Mar 13, 2023, 1:57 am

Okay, I've significantly upped the memory limit here. We should be good.

26AbigailAdams26
Maio 10, 2023, 11:59 am

Despite the increased memory limit, this appears to still be an issue. I have received a report via email that attempts to work on the Shakespeare author page resulted in the following error message: "Fatal error: Allowed memory size of 251658240 bytes exhausted (tried to allocate 86 bytes) in /var/www/html/combine_lt2.php on line 1008."

27booksaplenty1949
Maio 10, 2023, 12:06 pm

What is/are the basis/es for a combination suggestion? Similar title, obviously, but others seem quite baffling. I have assumed that they reflect a shared ISBN number with some iteration of the primary work, perhaps because of an entry error. Do ISBNs get recycled?

28AnnieMod
Maio 10, 2023, 12:10 pm

>27 booksaplenty1949: "Do ISBNs get recycled?"

Yes. Occasionally.

But also - people add one book, then change the title and/or author but never change the ISBN of their copy sometimes. So the book the ISBN actually belongs to now shows up as a combination suggestion for the one where the stranded one is and vice versa.

29booksaplenty1949
Maio 10, 2023, 12:32 pm

>28 AnnieMod: Thank you. Will try to keep this in mind when I’m doing my own editing.

30DuncanHill
Out 6, 2023, 7:28 am

Bump and re-open, reported again https://www.librarything.com/topic/354171

31kristilabrie
Out 6, 2023, 3:03 pm

Cross-posting from https://www.librarything.com/topic/354171#8248663, for timspalding to look at:

I tried to combine a 1 copy work with a work with a lot of copies/editions and got the following error:
Fatal error: Allowed memory size of 251658240 bytes exhausted (tried to allocate 10485760 bytes) in /var/www/html/combine_lt2.php on line 1027

It happened on page: https://www.librarything.com/combine.php?work=5794

I was trying to combine https://www.librarything.com/work/5794 and https://www.librarything.com/work/31046562

The combination was performed (I think) because the second work link now leads to the first work (as I intended)

32norabelle414
Out 6, 2023, 3:45 pm

The editions page for Good Omens has thousands of combination suggestions that are all from bad imports from Audible that start with "=HYPERLINK..."

Most of the books have been deleted (but the zero-copies remain and are suggested combinations) but this user's bad import is recent and has not been deleted, and so might provide useful information: https://www.librarything.com/profile/Sg56

33DuncanHill
Out 25, 2023, 2:58 pm

Bumpity-bump

Just had it again at https://www.librarything.com/combine.php?work=30723198

Fatal error: Allowed memory size of 251658240 bytes exhausted (tried to allocate 20480 bytes) in /var/www/html/inc_mysql_ext_shims.php on line 17

34norabelle414
Nov 27, 2023, 9:20 am

bump. I'm seeing this very frequently now

35kristilabrie
Nov 29, 2023, 7:26 am

>34 norabelle414: Thanks for the note, I'm passing this to the developers so hopefully they can get to this sooner than later.

36timspalding
Nov 29, 2023, 9:18 am

Okay, I've upped the memory a lot on this process. Can someone let me know if it's now working?

37norabelle414
Nov 29, 2023, 10:13 am

>36 timspalding: Yes the page loads, albeit very slowly.

Any chance the suggested combination issue could be fixed? The enormous page size comes from the fact that it's suggesting combination for any edition that starts with "="

38timspalding
Nov 29, 2023, 12:50 pm

>37 norabelle414:

Sorry, can you link me to the issue?

40r.orrison
Nov 29, 2023, 2:30 pm

I wish all those "=HYPERLINK("https://audible.com" zero-copy editions could be deleted from the database.

41jasbro
Editado: Nov 30, 2023, 2:10 pm

>40 r.orrison: Absent a comprehensive fix, are we combining these “hyperlink” records with their respective works, as applicable, or separating them? If we separate them from their respective works, what would it do to then combine them all together as one big problem? At least that way, only the combined “problem” work should show as a combination prospect.

42norabelle414
Nov 30, 2023, 2:24 pm

Combining them to each other is a bad idea, since some of them still have copies attached and some have been added recently which means the same import error could happen again. And then if the problem of the potential work combinations does get solved they would just have to be removed, one by one, and attached to the correct works, one by one.

43Nevov
Nov 30, 2023, 5:12 pm

>41 jasbro:
There's some discussion on that from earlier this year at: https://www.librarything.com/topic/351928 (I know you've seen that one jasbro, but thought worth a link for anyone else's benefit).

44timspalding
Dez 1, 2023, 9:48 am

The suggestion thing is on my plate.

45jasbro
Dez 1, 2023, 5:52 pm

A case in point, the result of combining two records of Robert Galbraith's Troubled Blood: https://www.librarything.com/combine.php?work=24258642

SO MANY =HYPERLINK("https://audible.com/pd/... suggestions!

46norabelle414
Dez 27, 2023, 11:39 am

Instead of getting the error now, the suggested combinations page just takes a very very very long time to load and sometimes freezes up my browser.