page size calculation, meomory output is in kilobytes