Acceleration radiation in a compact space