There's a number of events that can wake the system up from hibernation. These include PCI devices, the RTC (real time clock), USB devices and more.
When a system is hibernated, the power is shut off to most components including
RAM. Therefore I'm not sure that your idea about memory allocation is necessarily correct here.