PDF blank space conversion issue

Hello,
After conversing doc to PDF blank page generating and extra space is coming in PDF.

So can you please suggest that how can fix this issue and why it happens so.

image.png (8.3 KB)

@RiteshK10
Please attach the source document and the code you used for conversion so that we can reproduce and studied issue.