Optimum pH range for formation of Schiff bases
Dehydration requires protonation of the hydroxy intermediate, this clearly is slower at neutral or alkaline pH. Hydroxylamine is basic so at acidic pH it protonates making it non-nucleophilic hence lower pH slows the rate. 
Time taken for the reaction to go to completion. If the rate is slowed then other competing reactions (e.g. self-condensation) can and do reduce your yield.
The pH will vary for each substrate and needs to be experimentally determined. This is where a literature search saves you a lot of grief.