Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[Tool] VMcleaner, cleaning your virtual memory

Featured Replies

Well, in one of my latest uA discs I noticed that the use of my virtual memory was going thro the roof. My VMware couldn't even handle it anymore so it started complaining about 'not enough virtual memory, press OK to expand it'. Not very unattended-like.

Anyway, I noticed that most setups "leave" processes running in the background. After about 20 setups (this includes Office and OpenOffice, two big boys) processes of over 80meg were just "left behind". Detecting and pskilling them manually is not my thing, so I introduce VMcleaner 0.2.

Here's how it works, when you use the parameter "/w":

vmcleaner /w

it wil create a list of the currently running tasks and save in a file in the TEMP-directory. If you're a bit clever, you know that you need to run this at the beginning of your install method (RunOnceEx/XPlode/...), preferably the first entry.

Afterwards, run VMcleaner without any parameters

vmcleaner

once in a while (after every setup, after five setups, whatever, your choice). It will detect all the tasks again and kill any new ones that were created. This makes the virtual memory less occupied and faster again.

You can run the first command again anytime to rewrite the tasks that shouldn't be killed.

*wanders off*

edit: and it can be used in a normal Windows-environment too! *shuts down 100 notepads*

VMcleaner02.zip

v0.2 (10/07/2005):

- Can now detect and kill a similar-named task

Edited by Nanaki


  • Author

0.2: now notices the difference between firefox.exe and firefox.exe (as an example). :)

Version 01 writes to an ini file and shows the processes nicely.

Version 02 shows the PID instead - is it intentional?

When this is used in Windows cmd, would it be possible to make it show the info in the same cmd window as an option?

Thanks!

  • Author

Yeah, with PID I can seperate processes with the same name. I'll include both options in the next version.

The second you're asking, I cannot do. I can only pipe to cmd's my app spawns. However, I think that PsList basically does what you want. ;)

0.2: now notices the difference between firefox.exe and firefox.exe (as an example).

What's the difference??? :blink::blushing::no:

EDIT: I understand now :P You mean two different instances of a likewise-named executable.... stupid me!

Edited by Bâshrat the Sneaky

  • 6 months later...

WOW this IS fantastic!

I will try it with my next uA disc.

  • 6 months later...

I actually forgot to use it. Now added to my RunOnceEx. BTW, cleaning the virtual memory will also take time, right? So one should not perform vmcleaner to many times otherwise it might even slow things down... cleaning the vm everytime?

  • 2 weeks later...
  • Author

Nah, it just quickly compares tasks and kills the ones previously not active. I ran it after every "big one" (office/openoffice), but you could run it after every install (would be overkill though :) ).

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.