| View previous topic :: View next topic |
| Author |
Message |
Skit3000 Admin Team

Joined: 11 May 2002 Posts: 2166 Location: The Netherlands
|
Posted: Tue Dec 28, 2004 3:04 pm Post subject: The Hibernater |
|
|
Hello all,
Because I have a rather old PC over here which takes a while to load, I bounded some examples of Garrett and CodeScript together to make "the Hibernater". It is a program which uses the standard hibernate function of Windows XP, and expands it a bit by first closing all unwanted programs (like Internet Explorer and Notepad) and which "defragmentates" the memory before it will put your computer into sleep. This way, you can get the feeling of a "new boot" when you restart your computer, while it only takes a few seconds to load...
Does anybody want to test if it works at his system, so that I can make improvements to it before I distribute the program? To do so, just download and unzip the attachment and run the "Hibernater.exe" file. It will automaticly put an icon on your desktop, which you can remove when you've stopped testing.
Thanks in advance...
| Description: |
|
 Download |
| Filename: |
The Hibernater.zip |
| Filesize: |
228.98 KB |
| Downloaded: |
1394 Time(s) |
_________________ [ Add autocomplete functionality to your VDS IDE windows! ]
Voor Nederlandse beginners met VDS: bekijk ook eens deze tutorial!
Last edited by Skit3000 on Tue Dec 28, 2004 4:17 pm; edited 1 time in total |
|
| Back to top |
|
 |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Tue Dec 28, 2004 3:25 pm Post subject: |
|
|
I only tried the "Clean current session" option because I don't have time
to test the actual hibernate functions now, but I received a runtime error.
| Description: |
|
| Filesize: |
16.13 KB |
| Viewed: |
1355 Time(s) |

|
_________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
| Back to top |
|
 |
Skit3000 Admin Team

Joined: 11 May 2002 Posts: 2166 Location: The Netherlands
|
Posted: Tue Dec 28, 2004 4:19 pm Post subject: |
|
|
FreezingFire, thanks for testing. The program was trying to use a list which had no value. With all other options, I already had made sure this couldn't happen, but I forgot to do so with the last one you tried. An updated version is now uploaded, could you try it again please?
Thanks...
_________________ [ Add autocomplete functionality to your VDS IDE windows! ]
Voor Nederlandse beginners met VDS: bekijk ook eens deze tutorial! |
|
| Back to top |
|
 |
Garrett Moderator Team
Joined: 04 Oct 2001 Posts: 2149 Location: A House
|
Posted: Tue Dec 28, 2004 9:30 pm Post subject: |
|
|
Worked just fine here on my system.
-Garrett
_________________ 'What you do not want done to yourself, do not do to others.' - Confucius (550 b.c. to 479 b.c.) |
|
| Back to top |
|
 |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Wed Dec 29, 2004 2:55 am Post subject: |
|
|
Worked. Just wondering, what does it do during memory defragmentation?
_________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
| Back to top |
|
 |
Skit3000 Admin Team

Joined: 11 May 2002 Posts: 2166 Location: The Netherlands
|
Posted: Wed Dec 29, 2004 9:02 am Post subject: |
|
|
That's some of Garrett's code. It's just like with formatting a disk. When a program's memory segments are spread far away from eachother, it will run slower than if it was all in a single line. My program just fills the memory with random characters, so that all programs are forced to write the things they had in memory to disk. When my program is done running, only the programs who really need the things they had in memory, will put it back. This way, all unused data will be discarged and new memory will be available...
More info about Garrett's code can be found here:
http://www.vdsworld.com/download.php?id=147
Thank you both for testing...
_________________ [ Add autocomplete functionality to your VDS IDE windows! ]
Voor Nederlandse beginners met VDS: bekijk ook eens deze tutorial! |
|
| Back to top |
|
 |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Wed Dec 29, 2004 2:05 pm Post subject: |
|
|
Ahh, yes. I made a memory program with that code back in the day.
I just wondering since it really got my harddrive cranking. But
that's probably due to the script having pushed almost a GB into the
paging file.
_________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
| Back to top |
|
 |
|