IEEEtran references split into two pages [closed]

I'm writing a journal using IEEEtran template. Bibliography is included in a .bib file. An issue happen (but no error reported by Latex) when generating references: references are split into two pages while they can actually fit into one single page:

Note the blank space at the end of 20th reference

On another page, 21st reference begins

When I include

\usepackage{flushend}

Things do not change much, except the references in second page become evenly listed in two columns.

Can anyone tell me what the problem is?

closed as off-topic by Mico, Werner, Mensch, David Carlisle, user13907 Nov 12 '15 at 8:09

• This question does not fall within the scope of TeX, LaTeX or related typesetting systems as defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

• you say "note the blank space" but you have clipped the image so we can not tell what space is after the last printed line, (it appears to finish at the same point as ref 10 in the previous column as expected?) and you have given no indication of your source file. – David Carlisle Nov 11 '15 at 22:43
• @DavidCarlisle ref 10 and ref 20 are at the same level. After this line, there are still large blank space, which could have been filled with references 21-30. It's hard to see from the image though... – shionlau Nov 12 '15 at 4:36
• I'm voting to close this question as off-topic because the cause of the problem (a stray "\addtolength{\textheight}{-12cm}" instruction) was not mentioned in the posting and was revealed only in a follow-up contribution. As such, this posting is not likely to be relevant to future readers and users of this site. – Mico Nov 12 '15 at 6:23
• It helped me. This instruction is actually in the template, so everyone using it will eventually have this problem. – Dinei Jun 25 '18 at 6:39