bpiwowar / papercite

Bibtex plugin for wordpress
http://www.bpiwowar.net/software/papercite/
GNU General Public License v2.0
42 stars 47 forks source link

maximum size of bibtex database? #91

Closed jvitku closed 9 years ago

jvitku commented 10 years ago

Hi, just curious: is there any (estimate of) maximum size of bibtex database?

If I try to pass the papercite (using bibfilter command) the database with roughly 350 publications (with abstracts) it spits out the error:

Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 28575 bytes) in /srv/disk1/1427127/www/artificiallife.co.nf/wp-content/plugins/papercite/lib/BibTex_pear.php on line 330

After cutting it down to about 270 entries, everything works again. Thanks for info, Jarda

bpiwowar commented 10 years ago

No idea - it depends on your webserver settings (apparently your limit is 64mb, which is quite high). I never experienced such problems, but I can have a look at it. Could you attach (or send me privately if you want) your bibtex file; I will try to reproduce the bug.

It could also be due to other plugins you installed, and what happens is that papercite is called

Maybe you could try this plugin https://wordpress.org/plugins/tpc-memory-usage/

to check which plugin is using a lot of memory.

jvitku commented 10 years ago

Hi, sure

bibtex file: https://www.dropbox.com/s/stgh3vrkntcnhhq/alife.bib?dl=0

As plugins, I use only "Count Per Day" and "Papercite". It is not that important (as I use only the small portion of my bibtex database with Papercite), mainly curious where can be a problem.

Thanks, Jarda

sistlind commented 9 years ago

I am using a bibtex file with nearly 1600 entries without any problems (with and without db-cache), therefore, about 300 entries shouldn't be a problem

bpiwowar commented 9 years ago

I will close this bug since I cannot reproduce it. Feel free to re-open with more details