I think not, but you can search on google Java Script Memory Cleaner and see what you get
Bump
trying to add the dll into GM html5/
Script is giving an error : unknown function.
How to load it inside GM? Through extension?
No, If your trying to use it for HTML5 games you cant!, it only works for .exe games.
You need to put it in the same directory as the project.
You can call cleanmem() all the time you want, but read the first comment that explains when you shouldn't clear memory.
BTW: HTML5 games don't accept dlls, but they accept JavaScript
Is there any java script cleaner?
Cleanmem - A Memory Cleaning Dll
#221
Posted 16 May 2012 - 12:07 AM
#222
Posted 20 June 2012 - 08:33 PM
Cleanmem Extension on Dropbox
#223
Posted 21 June 2012 - 08:34 PM

Derpy - I DUNNO WAT WENT WRONG
#224
Posted 21 June 2012 - 09:10 PM
we'll, it knocked off about 90% of memory, but the framerate was still about 25.
Derpy - I DUNNO WAT WENT WRONG
This just cleans some memory, it doesn't give you more fps
#225
Posted 21 June 2012 - 10:21 PM
In fact we know this. But what is then the exact purpose of this if it really doesn't give fps?This just cleans some memory, it doesn't give you more fps
I mean, wouldn't the game slow down if there's too much (maybe even all of the physical RAM) of the memory used?
@mrpeanut188 Good idea to make that. It's useful!
#226
Posted 21 June 2012 - 10:24 PM
In fact we know this. But what is then the exact purpose of this if it really doesn't give fps?
This just cleans some memory, it doesn't give you more fps
I mean, wouldn't the game slow down if there's too much (maybe even all of the physical RAM) of the memory used?
@mrpeanut188 Good idea to make that. It's useful!
Lower the Memory usage xD.
Since its not the same a game that uses 20000 KB than a game that uses 10000 KB
This will reduce some lag when your game is killing the users computers xD
#227
Posted 22 June 2012 - 07:08 PM
In fact we know this. But what is then the exact purpose of this if it really doesn't give fps?
This just cleans some memory, it doesn't give you more fps
I mean, wouldn't the game slow down if there's too much (maybe even all of the physical RAM) of the memory used?
@mrpeanut188 Good idea to make that. It's useful!
Lower the Memory usage xD.
Since its not the same a game that uses 20000 KB than a game that uses 10000 KB.
This will reduce some lag when your game is killing the users computers xD
I disagree, the game would be faster if it could use the RAM for its content, this DLL makes the game clean its RAM and put it in the Windows Pagefile isntead (or loads it from its own directory) which is much slower than letting it get its information from the RAM.
So yes it does lower RAM usage but for modern computers this isn't needed.
#228
Posted 25 July 2012 - 03:13 PM
#229
Posted 08 August 2012 - 03:33 PM
One question: currently, quitting my game evokes the error:
___________________________________________
In extension function cleanmem_free:
Error in code at line 1:
external_free(dll);
^
at position 15: Unknown variable dll
I have put "cleanmem(1);" in my Game End event. Can someone explain what I'm doing wrong?
#230
Posted 08 August 2012 - 03:43 PM
Thanks for this great DLL, and thanks for the GEX file, which simplifies things.
One question: currently, quitting my game evokes the error:
___________________________________________
In extension function cleanmem_free:
Error in code at line 1:
external_free(dll);
^
at position 15: Unknown variable dll
I have put "cleanmem(1);" in my Game End event. Can someone explain what I'm doing wrong?
You didnt initialize the DLL. Set it some value in a create event.
On a side not, can we have an update for 8.1?
Edited by SirGuy, 08 August 2012 - 03:44 PM.
#231
Posted 08 August 2012 - 06:47 PM
You didnt initialize the DLL. Set it some value in a create event.
I'm sorry, but I'm not seeing how to do this. Can you please elaborate?
#232
Posted 08 August 2012 - 06:58 PM
In the create event:
cleanmem_init(0);
#233
Posted 15 August 2012 - 09:47 PM
Debug version returned zero, and still didn't clear any memory.
CM.exe is complete rubbish, it seems to be corrupt, and I can't delete it...thanks for the Trojan, removed.
There's a nice animated picture in the first post, it really describes this much better then we can in words.What exactly does this do?
Now you are smiling. I hope you apologized to the original poster for earlier calling hiser(his or her) thing a Trojan.
#234
Posted 01 October 2012 - 11:09 AM
I got 342.228K with cleanmem and 342.102 without it... so yeah, does not work.
Will not be using this, but thanks anyway.
#235
Posted 01 October 2012 - 12:27 PM
I don't know how people got thous crazy results, 50% less memory and such... their code must have been all over the place or something...
I got 342.228K with cleanmem and 342.102 without it... so yeah, does not work.
Will not be using this, but thanks anyway.
:/, maybe you used it wrong, because i used this dll a lot of times before and my games/programs used 50-75% less memory (which is a good amount) and my game wasn't affected at all (there was no difference when the memory was "cleaned"
#236
Posted 01 October 2012 - 04:43 PM
#237
Posted 02 October 2012 - 01:01 PM
I don't know how people got thous crazy results, 50% less memory and such... their code must have been all over the place or something...
I got 342.228K with cleanmem and 342.102 without it... so yeah, does not work.
Will not be using this, but thanks anyway.
:/, maybe you used it wrong, because i used this dll a lot of times before and my games/programs used 50-75% less memory (which is a good amount) and my game wasn't affected at all (there was no difference when the memory was "cleaned"
I tried using the extension.
I run "cleanmem()" at room start of every room. Nothing happens. Except getting an error in a random object that has nothing to do with anything...It's not even in the room.
Anyway... using cleanmem_init() will return "not a valid function" while using the gex...
How do you use it?
#238
Posted 02 October 2012 - 01:21 PM
just call cleanmem_init() with no arguments and when you want to clear the memory clearnmem()
I don't know how people got thous crazy results, 50% less memory and such... their code must have been all over the place or something...
I got 342.228K with cleanmem and 342.102 without it... so yeah, does not work.
Will not be using this, but thanks anyway.
:/, maybe you used it wrong, because i used this dll a lot of times before and my games/programs used 50-75% less memory (which is a good amount) and my game wasn't affected at all (there was no difference when the memory was "cleaned"
I tried using the extension.
I run "cleanmem()" at room start of every room. Nothing happens. Except getting an error in a random object that has nothing to do with anything...It's not even in the room.
Anyway... using cleanmem_init() will return "not a valid function" while using the gex...
How do you use it?
#239
Posted 03 October 2012 - 09:12 AM
just call cleanmem_init() with no arguments and when you want to clear the memory clearnmem()
No luck... random errors again and the memory usage does not flinch...
Doesn't matter anyway, my game only takes up about 350MB of RAM.
#240
Posted 04 October 2012 - 05:36 PM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users











