Hmm, okay, there's not a lot to go on here...
Lemme piece together what I think the problem is.
You "installed" Ubuntu - on windows. Linux partitions its disks, one of those partitions is
swap space. I suspect two things, either there is no swap space (at all) in the "disk" where Ubuntu is installed, or the swap scpace was configured ... too small to begin with. Linux needs to store stuff before going into hibernation...
Several options are open to you:
Use
VirtualBox, I have some great experiences with it, so I can recommend it
Reinstall Ubuntu, but pay attention to increase the swapspace, if at all possible
Install Ubuntu on a second-hander/hand-me-down and (eventually) forget about windows altogether...
Good luck, and I'll keep this thread on the radar!
Thor