Sinisterly
Clean your RAM via VBscript [ great ] - Printable Version

+- Sinisterly (https://sinister.ly)
+-- Forum: Computers (https://sinister.ly/Forum-Computers)
+--- Forum: Antivirus & Protection (https://sinister.ly/Forum-Antivirus-Protection)
+--- Thread: Clean your RAM via VBscript [ great ] (/Thread-Clean-your-RAM-via-VBscript-great)

Pages: 1 2 3


RE: Clean your RAM via NOTEPAD [ great ] - zer0_mybb_import9601 - 10-22-2012

thanks and welcome bro. Wink more to come.


RE: Clean your RAM via NOTEPAD [ great ] - H4R0015K - 10-22-2012

(10-22-2012, 10:19 AM)zer0 Wrote: thanks and welcome bro. Wink more to come.

on which site did you found this can you please share?


RE: Clean your RAM via NOTEPAD [ great ] - pipot - 10-23-2012

thanks for this bro Smile keep sharing


RE: Clean your RAM via NOTEPAD [ great ] - Hatrk - 10-28-2012

(10-22-2012, 10:26 AM)h4r0015k Wrote:
(10-22-2012, 10:19 AM)zer0 Wrote: thanks and welcome bro. Wink more to come.

on which site did you found this can you please share?

i think you are the most knowledgeable person on the forum...

but bro seriously this is called spamming \\\ and annoying others ...

so ...,,, give suggestions... or thanks for the contribution or if there any mistake then tell and please get outta There ... and then any further post called SPAMMING


RE: Clean your RAM via NOTEPAD [ great ] - Solixious - 10-28-2012

(10-28-2012, 01:21 PM)Hatrk Wrote:
(10-22-2012, 10:26 AM)h4r0015k Wrote:
(10-22-2012, 10:19 AM)zer0 Wrote: thanks and welcome bro. Wink more to come.

on which site did you found this can you please share?

i think you are the most knowledgeable person on the forum...

but bro seriously this is called spamming \\\ and annoying others ...

so ...,,, give suggestions... or thanks for the contribution or if there any mistake then tell and please get outta There ... and then any further post called SPAMMING

I don't think that post was spam. Just asking for information cannot be called spamming.
Quote:so ...,,, give suggestions... or thanks for the contribution or if there any mistake then tell and please get outta There ... and then any further post called SPAMMING
Are you redefining spamming?


RE: Clean your RAM via NOTEPAD [ great ] - NiTrOwow - 10-28-2012

Not noticeable on my dekstop and notebook. But i guess it's because of the amount of ram they have. Notebook has 8gb 1600mhz and desktop 12gb 1600mhz .. Cool


RE: Clean your RAM via NOTEPAD [ great ] - ascwhitehat - 11-21-2012

wow cool code keep sharing


RE: Clean your RAM via NOTEPAD [ great ] - Coder-san - 11-21-2012

Umm.. all you did was create an object variable and assigned the value of "Space" times the numbers in the parenthesis.

So in short, since "Space" is Char("13"), it will do the opposite of what you said and "use up" the specified amount of RAM.


RE: Clean your RAM via VBscript [ great ] - Frooxius - 11-21-2012

Exactly like Coder-san said. What is the logic behind this? What makes you think that this will work the way you describe it?

If you look at the documentation:
http://ns7.webmasters.com/caspdoc/html/vbscript_space_function.htm
Then this creates a string in the memory containing spaces, which are characters. If one character is represented by one byte, then 10240000000 of them is going to take about 9.5 GB of memory, if it even allows you to make string that long. So... essentially you want to free memory by using it all?

Now I guess you ran it, it tried to allocate a lot of memory, meaning it expanded in memory and once it was done, it disappeared from it, leaving a large gap, so you thought "oh, it freed the memory". But the truth is actually the opposite - it forced other stuff from the memory to be written to the harddrive to the swap file, to make more space for your program to expand.

And harddrive is way slower than RAM, meaning now all the stuff has to be slowly loaded back to the memory, which is going to take some time. So in fact, it actually slows down the computer. There's no real cleaning involved.

Or maybe you thought if you name the variable that stores the reference to the string FreeMem, it will make it free that amount of memory? The language doesn't work that way. Try naming it AmountOfCashInMyWallet and see how will that work. Language doesn't generally care what you name your variables, that's just for you, the programmer, to better know what they store, which in this case is a lot of places.

Simply put:

This code doesn't work, it doesn't clean your memory, it will only slow your computer down.

Also what I find a bit sad is how many people respond thanking for this and such, without even thinking about it for a second. I mean... doesn't anybody use their brain here before responding?

For gravitons sake people - think for a second before posting, otherwise you're only making yourself look stupid.

EDIT: Also it's not really via notepad. That's just a tool for editing plaintext and does nothing on its own, other than allowing you to create plain text files, which could be technically almost any programming language, so with no context, it's not possible to determine that it's actually a VBscript, unless you're a seer.

It's about the same as if you wrote a shopping list on a paper and gave it to someone, who would then go to a store and buy the things you instructed him to. Who's the one who's shopping? The person or the piece of paper and the pen?


RE: Clean your RAM via VBscript [ great ] - bluesmoke - 11-21-2012

nice trick !!! but not working for me now !!! i have 6GB RAM


This forum uses Lukasz Tkacz MyBB addons.