Bibtex hash size exceeded
up vote
2
down vote
favorite
I am trying to compile my manuscript. I am using a large bibtex database that contains conference papers, in addition to my custom bib file.Also I am using the CCS template, as follows:
bibliographystyle{ACM-Reference-Format}
bibliography{mybibliography,abbrev3,crypto}
But when I compile my tex, I am getting the following errors, and the reference list does not show up:
This is BibTeX, Version 0.99d (TeX Live 2017/Debian)
The top-level auxiliary file: main.aux
The style file: ACM-Reference-Format.bst
A level-1 auxiliary file: appendix.aux
Database file #1: mybibliography.bib
Database file #2: abbrev3.bib
Database file #3: crypto.bib
Sorry---you've exceeded BibTeX's hash size 100000
Aborted at line 291526 of file crypto.bib
(That was a fatal error)
Process exited with error(s)
However, if I break the bib files into 3 separate lines, it compiles (with some warnings) but I am getting my references displayed 3 times...
bibliography{mybibliography}
bibliography{abbrev3}
bibliography{crypto}
Is there any solution for that? I have tried looking on how to increase the Bibtex hash size but couldn't find anything...
bibliographies bibtex texlive texlive-2017
add a comment |
up vote
2
down vote
favorite
I am trying to compile my manuscript. I am using a large bibtex database that contains conference papers, in addition to my custom bib file.Also I am using the CCS template, as follows:
bibliographystyle{ACM-Reference-Format}
bibliography{mybibliography,abbrev3,crypto}
But when I compile my tex, I am getting the following errors, and the reference list does not show up:
This is BibTeX, Version 0.99d (TeX Live 2017/Debian)
The top-level auxiliary file: main.aux
The style file: ACM-Reference-Format.bst
A level-1 auxiliary file: appendix.aux
Database file #1: mybibliography.bib
Database file #2: abbrev3.bib
Database file #3: crypto.bib
Sorry---you've exceeded BibTeX's hash size 100000
Aborted at line 291526 of file crypto.bib
(That was a fatal error)
Process exited with error(s)
However, if I break the bib files into 3 separate lines, it compiles (with some warnings) but I am getting my references displayed 3 times...
bibliography{mybibliography}
bibliography{abbrev3}
bibliography{crypto}
Is there any solution for that? I have tried looking on how to increase the Bibtex hash size but couldn't find anything...
bibliographies bibtex texlive texlive-2017
1
Usebibtex8
(instead ofbibtex
) with the option--wolfgang
or set--mstring
to some (very) high value.
– DG'
Nov 15 at 19:52
Tried both,--wolfgang
didn't work as well with bibtex8, I also tried--mstring 1000000
and I got errorTeX capacity exceeded, sorry [save size=80000]. {ISC:KanSulHaq07}
– Panos
Nov 15 at 21:57
You can setsave_size
to a higher value by editingtexmf.cnf
(which you can find withkpsewhich texmf.cnf
) → tex.stackexchange.com/questions/134597/…
– DG'
Nov 15 at 22:30
Nope.. Addedsave_size = 100000
to/etc/texmf/web2c/texmf.cnf
but still same error.
– Panos
Nov 15 at 23:06
Well, then you have to slim down the bibliography: cryptobib.di.ens.fr/custom
– DG'
Nov 16 at 7:03
add a comment |
up vote
2
down vote
favorite
up vote
2
down vote
favorite
I am trying to compile my manuscript. I am using a large bibtex database that contains conference papers, in addition to my custom bib file.Also I am using the CCS template, as follows:
bibliographystyle{ACM-Reference-Format}
bibliography{mybibliography,abbrev3,crypto}
But when I compile my tex, I am getting the following errors, and the reference list does not show up:
This is BibTeX, Version 0.99d (TeX Live 2017/Debian)
The top-level auxiliary file: main.aux
The style file: ACM-Reference-Format.bst
A level-1 auxiliary file: appendix.aux
Database file #1: mybibliography.bib
Database file #2: abbrev3.bib
Database file #3: crypto.bib
Sorry---you've exceeded BibTeX's hash size 100000
Aborted at line 291526 of file crypto.bib
(That was a fatal error)
Process exited with error(s)
However, if I break the bib files into 3 separate lines, it compiles (with some warnings) but I am getting my references displayed 3 times...
bibliography{mybibliography}
bibliography{abbrev3}
bibliography{crypto}
Is there any solution for that? I have tried looking on how to increase the Bibtex hash size but couldn't find anything...
bibliographies bibtex texlive texlive-2017
I am trying to compile my manuscript. I am using a large bibtex database that contains conference papers, in addition to my custom bib file.Also I am using the CCS template, as follows:
bibliographystyle{ACM-Reference-Format}
bibliography{mybibliography,abbrev3,crypto}
But when I compile my tex, I am getting the following errors, and the reference list does not show up:
This is BibTeX, Version 0.99d (TeX Live 2017/Debian)
The top-level auxiliary file: main.aux
The style file: ACM-Reference-Format.bst
A level-1 auxiliary file: appendix.aux
Database file #1: mybibliography.bib
Database file #2: abbrev3.bib
Database file #3: crypto.bib
Sorry---you've exceeded BibTeX's hash size 100000
Aborted at line 291526 of file crypto.bib
(That was a fatal error)
Process exited with error(s)
However, if I break the bib files into 3 separate lines, it compiles (with some warnings) but I am getting my references displayed 3 times...
bibliography{mybibliography}
bibliography{abbrev3}
bibliography{crypto}
Is there any solution for that? I have tried looking on how to increase the Bibtex hash size but couldn't find anything...
bibliographies bibtex texlive texlive-2017
bibliographies bibtex texlive texlive-2017
asked Nov 15 at 18:44
Panos
132
132
1
Usebibtex8
(instead ofbibtex
) with the option--wolfgang
or set--mstring
to some (very) high value.
– DG'
Nov 15 at 19:52
Tried both,--wolfgang
didn't work as well with bibtex8, I also tried--mstring 1000000
and I got errorTeX capacity exceeded, sorry [save size=80000]. {ISC:KanSulHaq07}
– Panos
Nov 15 at 21:57
You can setsave_size
to a higher value by editingtexmf.cnf
(which you can find withkpsewhich texmf.cnf
) → tex.stackexchange.com/questions/134597/…
– DG'
Nov 15 at 22:30
Nope.. Addedsave_size = 100000
to/etc/texmf/web2c/texmf.cnf
but still same error.
– Panos
Nov 15 at 23:06
Well, then you have to slim down the bibliography: cryptobib.di.ens.fr/custom
– DG'
Nov 16 at 7:03
add a comment |
1
Usebibtex8
(instead ofbibtex
) with the option--wolfgang
or set--mstring
to some (very) high value.
– DG'
Nov 15 at 19:52
Tried both,--wolfgang
didn't work as well with bibtex8, I also tried--mstring 1000000
and I got errorTeX capacity exceeded, sorry [save size=80000]. {ISC:KanSulHaq07}
– Panos
Nov 15 at 21:57
You can setsave_size
to a higher value by editingtexmf.cnf
(which you can find withkpsewhich texmf.cnf
) → tex.stackexchange.com/questions/134597/…
– DG'
Nov 15 at 22:30
Nope.. Addedsave_size = 100000
to/etc/texmf/web2c/texmf.cnf
but still same error.
– Panos
Nov 15 at 23:06
Well, then you have to slim down the bibliography: cryptobib.di.ens.fr/custom
– DG'
Nov 16 at 7:03
1
1
Use
bibtex8
(instead of bibtex
) with the option --wolfgang
or set --mstring
to some (very) high value.– DG'
Nov 15 at 19:52
Use
bibtex8
(instead of bibtex
) with the option --wolfgang
or set --mstring
to some (very) high value.– DG'
Nov 15 at 19:52
Tried both,
--wolfgang
didn't work as well with bibtex8, I also tried --mstring 1000000
and I got error TeX capacity exceeded, sorry [save size=80000]. {ISC:KanSulHaq07}
– Panos
Nov 15 at 21:57
Tried both,
--wolfgang
didn't work as well with bibtex8, I also tried --mstring 1000000
and I got error TeX capacity exceeded, sorry [save size=80000]. {ISC:KanSulHaq07}
– Panos
Nov 15 at 21:57
You can set
save_size
to a higher value by editing texmf.cnf
(which you can find with kpsewhich texmf.cnf
) → tex.stackexchange.com/questions/134597/…– DG'
Nov 15 at 22:30
You can set
save_size
to a higher value by editing texmf.cnf
(which you can find with kpsewhich texmf.cnf
) → tex.stackexchange.com/questions/134597/…– DG'
Nov 15 at 22:30
Nope.. Added
save_size = 100000
to /etc/texmf/web2c/texmf.cnf
but still same error.– Panos
Nov 15 at 23:06
Nope.. Added
save_size = 100000
to /etc/texmf/web2c/texmf.cnf
but still same error.– Panos
Nov 15 at 23:06
Well, then you have to slim down the bibliography: cryptobib.di.ens.fr/custom
– DG'
Nov 16 at 7:03
Well, then you have to slim down the bibliography: cryptobib.di.ens.fr/custom
– DG'
Nov 16 at 7:03
add a comment |
1 Answer
1
active
oldest
votes
up vote
1
down vote
accepted
TL;DR: Don't use this humongous database, instead copy the relevant entries to a new and slimmer .bib
-file
Since crypto.bib
is rather huge (21M), you have to use bibtex8
and set --mstrings
to a rather high value. I tried bibtex8 --mstrings 700000
and it kind of worked, i.e. bibtex8
still threw lots of warnings and errors.
I compiled a small test document with lualatex
:
documentclass{article}
usepackage{amsmath}
usepackage{amsfonts}
usepackage{natbib}
usepackage{hyperref}
begin{document}
nocite{*}
bibliographystyle{ACM-Reference-Format}
bibliography{abbrev3,crypto}
end{document}
Which produced a neat PDF of 4534 pages:
Unfortunately, while bibtex8 seems to work with warnings as you said, when I runpdflatex
after I'm getting lots ofUnderfull vbox (badness 10000) has occurred while output is active
errors and finally! Undefined control sequence.
. My tex works fine otherwise. I also tried to manually download the database from their website as you suggested but their script seems to be broken..
– Panos
Nov 17 at 2:45
1
@Panos you have to ignore the error. The database too big and buggy to use. You'd be better off, copying the relevant entries to an new.bib
-file
– DG'
Nov 17 at 7:17
1
@Panos - If you get lots ofUnderfull vbox
warnings (not errors), try issuing the instructionsloppy
beforebibliography
.
– Mico
Nov 17 at 7:51
1
@Panos TheUndefined control sequence
-errors are caused by math in titles of papers (like: "The art gallery problem is $existsmathbb{R}$-complete"). You need to loadamsmath
andamsfonts
to get rid of the errors.
– DG'
Nov 17 at 9:36
1
Ok I eventually found out that there were a couple of entries in the database that had some weird stuff in brackets and they were responsible for the undefined control sequence errors. Problem solved. Thanks!
– Panos
Nov 18 at 5:47
|
show 1 more comment
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
accepted
TL;DR: Don't use this humongous database, instead copy the relevant entries to a new and slimmer .bib
-file
Since crypto.bib
is rather huge (21M), you have to use bibtex8
and set --mstrings
to a rather high value. I tried bibtex8 --mstrings 700000
and it kind of worked, i.e. bibtex8
still threw lots of warnings and errors.
I compiled a small test document with lualatex
:
documentclass{article}
usepackage{amsmath}
usepackage{amsfonts}
usepackage{natbib}
usepackage{hyperref}
begin{document}
nocite{*}
bibliographystyle{ACM-Reference-Format}
bibliography{abbrev3,crypto}
end{document}
Which produced a neat PDF of 4534 pages:
Unfortunately, while bibtex8 seems to work with warnings as you said, when I runpdflatex
after I'm getting lots ofUnderfull vbox (badness 10000) has occurred while output is active
errors and finally! Undefined control sequence.
. My tex works fine otherwise. I also tried to manually download the database from their website as you suggested but their script seems to be broken..
– Panos
Nov 17 at 2:45
1
@Panos you have to ignore the error. The database too big and buggy to use. You'd be better off, copying the relevant entries to an new.bib
-file
– DG'
Nov 17 at 7:17
1
@Panos - If you get lots ofUnderfull vbox
warnings (not errors), try issuing the instructionsloppy
beforebibliography
.
– Mico
Nov 17 at 7:51
1
@Panos TheUndefined control sequence
-errors are caused by math in titles of papers (like: "The art gallery problem is $existsmathbb{R}$-complete"). You need to loadamsmath
andamsfonts
to get rid of the errors.
– DG'
Nov 17 at 9:36
1
Ok I eventually found out that there were a couple of entries in the database that had some weird stuff in brackets and they were responsible for the undefined control sequence errors. Problem solved. Thanks!
– Panos
Nov 18 at 5:47
|
show 1 more comment
up vote
1
down vote
accepted
TL;DR: Don't use this humongous database, instead copy the relevant entries to a new and slimmer .bib
-file
Since crypto.bib
is rather huge (21M), you have to use bibtex8
and set --mstrings
to a rather high value. I tried bibtex8 --mstrings 700000
and it kind of worked, i.e. bibtex8
still threw lots of warnings and errors.
I compiled a small test document with lualatex
:
documentclass{article}
usepackage{amsmath}
usepackage{amsfonts}
usepackage{natbib}
usepackage{hyperref}
begin{document}
nocite{*}
bibliographystyle{ACM-Reference-Format}
bibliography{abbrev3,crypto}
end{document}
Which produced a neat PDF of 4534 pages:
Unfortunately, while bibtex8 seems to work with warnings as you said, when I runpdflatex
after I'm getting lots ofUnderfull vbox (badness 10000) has occurred while output is active
errors and finally! Undefined control sequence.
. My tex works fine otherwise. I also tried to manually download the database from their website as you suggested but their script seems to be broken..
– Panos
Nov 17 at 2:45
1
@Panos you have to ignore the error. The database too big and buggy to use. You'd be better off, copying the relevant entries to an new.bib
-file
– DG'
Nov 17 at 7:17
1
@Panos - If you get lots ofUnderfull vbox
warnings (not errors), try issuing the instructionsloppy
beforebibliography
.
– Mico
Nov 17 at 7:51
1
@Panos TheUndefined control sequence
-errors are caused by math in titles of papers (like: "The art gallery problem is $existsmathbb{R}$-complete"). You need to loadamsmath
andamsfonts
to get rid of the errors.
– DG'
Nov 17 at 9:36
1
Ok I eventually found out that there were a couple of entries in the database that had some weird stuff in brackets and they were responsible for the undefined control sequence errors. Problem solved. Thanks!
– Panos
Nov 18 at 5:47
|
show 1 more comment
up vote
1
down vote
accepted
up vote
1
down vote
accepted
TL;DR: Don't use this humongous database, instead copy the relevant entries to a new and slimmer .bib
-file
Since crypto.bib
is rather huge (21M), you have to use bibtex8
and set --mstrings
to a rather high value. I tried bibtex8 --mstrings 700000
and it kind of worked, i.e. bibtex8
still threw lots of warnings and errors.
I compiled a small test document with lualatex
:
documentclass{article}
usepackage{amsmath}
usepackage{amsfonts}
usepackage{natbib}
usepackage{hyperref}
begin{document}
nocite{*}
bibliographystyle{ACM-Reference-Format}
bibliography{abbrev3,crypto}
end{document}
Which produced a neat PDF of 4534 pages:
TL;DR: Don't use this humongous database, instead copy the relevant entries to a new and slimmer .bib
-file
Since crypto.bib
is rather huge (21M), you have to use bibtex8
and set --mstrings
to a rather high value. I tried bibtex8 --mstrings 700000
and it kind of worked, i.e. bibtex8
still threw lots of warnings and errors.
I compiled a small test document with lualatex
:
documentclass{article}
usepackage{amsmath}
usepackage{amsfonts}
usepackage{natbib}
usepackage{hyperref}
begin{document}
nocite{*}
bibliographystyle{ACM-Reference-Format}
bibliography{abbrev3,crypto}
end{document}
Which produced a neat PDF of 4534 pages:
edited Nov 17 at 13:24
answered Nov 16 at 8:30
DG'
8,92011740
8,92011740
Unfortunately, while bibtex8 seems to work with warnings as you said, when I runpdflatex
after I'm getting lots ofUnderfull vbox (badness 10000) has occurred while output is active
errors and finally! Undefined control sequence.
. My tex works fine otherwise. I also tried to manually download the database from their website as you suggested but their script seems to be broken..
– Panos
Nov 17 at 2:45
1
@Panos you have to ignore the error. The database too big and buggy to use. You'd be better off, copying the relevant entries to an new.bib
-file
– DG'
Nov 17 at 7:17
1
@Panos - If you get lots ofUnderfull vbox
warnings (not errors), try issuing the instructionsloppy
beforebibliography
.
– Mico
Nov 17 at 7:51
1
@Panos TheUndefined control sequence
-errors are caused by math in titles of papers (like: "The art gallery problem is $existsmathbb{R}$-complete"). You need to loadamsmath
andamsfonts
to get rid of the errors.
– DG'
Nov 17 at 9:36
1
Ok I eventually found out that there were a couple of entries in the database that had some weird stuff in brackets and they were responsible for the undefined control sequence errors. Problem solved. Thanks!
– Panos
Nov 18 at 5:47
|
show 1 more comment
Unfortunately, while bibtex8 seems to work with warnings as you said, when I runpdflatex
after I'm getting lots ofUnderfull vbox (badness 10000) has occurred while output is active
errors and finally! Undefined control sequence.
. My tex works fine otherwise. I also tried to manually download the database from their website as you suggested but their script seems to be broken..
– Panos
Nov 17 at 2:45
1
@Panos you have to ignore the error. The database too big and buggy to use. You'd be better off, copying the relevant entries to an new.bib
-file
– DG'
Nov 17 at 7:17
1
@Panos - If you get lots ofUnderfull vbox
warnings (not errors), try issuing the instructionsloppy
beforebibliography
.
– Mico
Nov 17 at 7:51
1
@Panos TheUndefined control sequence
-errors are caused by math in titles of papers (like: "The art gallery problem is $existsmathbb{R}$-complete"). You need to loadamsmath
andamsfonts
to get rid of the errors.
– DG'
Nov 17 at 9:36
1
Ok I eventually found out that there were a couple of entries in the database that had some weird stuff in brackets and they were responsible for the undefined control sequence errors. Problem solved. Thanks!
– Panos
Nov 18 at 5:47
Unfortunately, while bibtex8 seems to work with warnings as you said, when I run
pdflatex
after I'm getting lots of Underfull vbox (badness 10000) has occurred while output is active
errors and finally ! Undefined control sequence.
. My tex works fine otherwise. I also tried to manually download the database from their website as you suggested but their script seems to be broken..– Panos
Nov 17 at 2:45
Unfortunately, while bibtex8 seems to work with warnings as you said, when I run
pdflatex
after I'm getting lots of Underfull vbox (badness 10000) has occurred while output is active
errors and finally ! Undefined control sequence.
. My tex works fine otherwise. I also tried to manually download the database from their website as you suggested but their script seems to be broken..– Panos
Nov 17 at 2:45
1
1
@Panos you have to ignore the error. The database too big and buggy to use. You'd be better off, copying the relevant entries to an new
.bib
-file– DG'
Nov 17 at 7:17
@Panos you have to ignore the error. The database too big and buggy to use. You'd be better off, copying the relevant entries to an new
.bib
-file– DG'
Nov 17 at 7:17
1
1
@Panos - If you get lots of
Underfull vbox
warnings (not errors), try issuing the instruction sloppy
before bibliography
.– Mico
Nov 17 at 7:51
@Panos - If you get lots of
Underfull vbox
warnings (not errors), try issuing the instruction sloppy
before bibliography
.– Mico
Nov 17 at 7:51
1
1
@Panos The
Undefined control sequence
-errors are caused by math in titles of papers (like: "The art gallery problem is $existsmathbb{R}$-complete"). You need to load amsmath
and amsfonts
to get rid of the errors.– DG'
Nov 17 at 9:36
@Panos The
Undefined control sequence
-errors are caused by math in titles of papers (like: "The art gallery problem is $existsmathbb{R}$-complete"). You need to load amsmath
and amsfonts
to get rid of the errors.– DG'
Nov 17 at 9:36
1
1
Ok I eventually found out that there were a couple of entries in the database that had some weird stuff in brackets and they were responsible for the undefined control sequence errors. Problem solved. Thanks!
– Panos
Nov 18 at 5:47
Ok I eventually found out that there were a couple of entries in the database that had some weird stuff in brackets and they were responsible for the undefined control sequence errors. Problem solved. Thanks!
– Panos
Nov 18 at 5:47
|
show 1 more comment
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f460183%2fbibtex-hash-size-exceeded%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
Use
bibtex8
(instead ofbibtex
) with the option--wolfgang
or set--mstring
to some (very) high value.– DG'
Nov 15 at 19:52
Tried both,
--wolfgang
didn't work as well with bibtex8, I also tried--mstring 1000000
and I got errorTeX capacity exceeded, sorry [save size=80000]. {ISC:KanSulHaq07}
– Panos
Nov 15 at 21:57
You can set
save_size
to a higher value by editingtexmf.cnf
(which you can find withkpsewhich texmf.cnf
) → tex.stackexchange.com/questions/134597/…– DG'
Nov 15 at 22:30
Nope.. Added
save_size = 100000
to/etc/texmf/web2c/texmf.cnf
but still same error.– Panos
Nov 15 at 23:06
Well, then you have to slim down the bibliography: cryptobib.di.ens.fr/custom
– DG'
Nov 16 at 7:03