View Full Version : [APP][21/11/2008] NoTSR - A very little tool to restore memory
kosherpig
17th November 2008, 09:15 PM
Hi.
When using my Diamond I noticed some processes don't disappear when they should. They fill up memory. Either you kill 'em with some Task Manager, or you soft reset.
Don't wanna SR or kill processes manually? Let my thing do it for you!
NoTSR is a very very simple program which kills some predefined processes, based on my experience with Diamond.
Source code (eVC++ 4) is for you to use and modify whatever you want. However, it would be nice if you gave me some credit if using it!
Have fun!
p. s. Sorry for the icon.
mcw
17th November 2008, 10:33 PM
If anyone is wondering, this is what it kills off (copied straight from the source code):
"Opera9.exe", // everything still loads well
"OperaPreL.exe", // after killing them
"pword.exe", // for some reason Pocket Word leaves its process even after leaving
"CommManager.exe", // other Office apps seem to be fixed
"AudioManager_eng.exe", // last ones are opened by manila for quicker loading of tabs.
"AlbumSearcher.exe" // killing AudioManager stops music and rewinds current track.
JNGold
17th November 2008, 11:54 PM
I keep getting a "Can't list processes" dialog box when I launch the app. I tried placing the NoTSR.exe within in the extracted NoTSR subdirectory and also outside the subdirectory.
Lycox
18th November 2008, 12:20 AM
I keep getting a "Can't list processes" dialog box when I launch the app. I tried placing the NoTSR.exe within in the extracted NoTSR subdirectory and also outside the subdirectory.
I can confirm that. :(
What did we wrong? Do we have to place it in a special folder, like windows?
uniqueboy
18th November 2008, 12:31 AM
It worked for me, but my phone was very sluggish after running the app and I had to soft reset to bring it back to par.
Thanks for starting this development, there is definitely a gap to be filled by it, I use oxios hibernate and a task manager to finish off opera .exe, this is much easier to use and your icons not so bad either! :)
kosherpig
18th November 2008, 01:47 PM
It worked for me, but my phone was very sluggish after running the app and I had to soft reset to bring it back to par.
Thanks for starting this development, there is definitely a gap to be filled by it, I use oxios hibernate and a task manager to finish off opera .exe, this is much easier to use and your icons not so bad either! :)
Thanks for positive feedback. I wonder why th sluggish reaction. Loading of opera as well as some TF3D tabs will for sure be slower, but whole phone is weird. After all, it just kills and leaves (see src if unsure). I use NoTSR myself and I got no problems at all. Maybe you could test it again and if it slows down show the list of processes?
@others: try using the app with rest closed. It should work in any folder; I keep it in my docs and launch via Start.
Thanks again for interest!
DomSim
18th November 2008, 05:59 PM
same error message for me. sprint touch pro with jd6.1 rom
kosherpig
18th November 2008, 08:04 PM
I can't reproduce that error to analyze and fix it, so I post new version which tells you what went wrong. Try with it.
mioqiu
19th November 2008, 11:34 AM
trying now
uniqueboy
19th November 2008, 07:07 PM
Thanks for positive feedback. I wonder why th sluggish reaction. Loading of opera as well as some TF3D tabs will for sure be slower, but whole phone is weird. After all, it just kills and leaves (see src if unsure). I use NoTSR myself and I got no problems at all. Maybe you could test it again and if it slows down show the list of processes?
@others: try using the app with rest closed. It should work in any folder; I keep it in my docs and launch via Start.
Thanks again for interest!
OK, so I've been using the NoTSR app for a couple of days and I can't reproduce the lag that I had when I first ran it, odd. I think it may be something to do with the fact that when I first ran it it was from within file explorer, after using it I could not get explorer to open up again properly. Now I have put a shortcut in my windows/start up/programs folder and I am running it from my start menu everything seems just fine and is all working as it should with no sluggish side effect, so thanks again kosherpig for the very useful app. :)
chronster
19th November 2008, 07:28 PM
SKTools Lite (free) comes with a small program called "Free up ram." During SKTools Lite install, it will tell you something about your windows version, just click through that and let it install.
Once it's installed, go to your programs page and you'll see it there: "Free Up RAM". Just run it once. It will look like nothing is opening, but its because it's working in the background. You'll get a message box very shortly telling you how much ram (in KB) you freed up.
http://s-k-tools.com/index.html?sktools/m_lite.html
I use it all the time. Brings me from 45 -50 down to 35-40. Lowest I've seen was 32%.
kosherpig
19th November 2008, 08:01 PM
Our programs are slightly different. My one doesn't free RAM by itself; it closes processes which won't close by a "close all" command. And NoTSR is not resident (after all its name is No Terminate-Stay-Resident ;)). Its goal is to be as small as possible, also in term of occupied disk space (~9kB now). Maybe this SKTools and NoTSR could be used in conjunction to free up even more RAM?
And, I also got the error message 2 times.
1st when I was running FM radio.
2nd when I was at the Music tab.
I solved them:
1st by closing FM radio and invoking NoTSR. Everything went OK.
2nd switched to the Home tab. NoTSR failed again. Waited some seconds, ran again. OK now.
Solution: fails? Shut everything using the HTC task manager, go to today/home screen, and invoke NoTSR after some time. I can say the behavior is really weird, since my code doesn't depend on running apps.
However, I run NoTSR everytime after using Opera. I got that error 2 times in my whole usage.
Anyways. Thanks for all responses:)
uniqueboy
19th November 2008, 08:13 PM
I find "Oxios Hibernate" frees up more ram than sk tools "free up ram" does, it is also free, but must be run manually, a useful addition to any start menu. :)
I'm getting about 10 mb back with NoTSR after opera browsing, "free up ram" or "hibernate" practically nothing back after opera browsing. Basically if you use opera then this is a "must have".
kosherpig
19th November 2008, 08:49 PM
A small update.
If you know when Oxios Hibernate works and NoTSR fails, check this exe out. I tried to contain the Hibernate in it.
This version is bugged.
Please use version from 1st post.
If you ran this version already perform a soft reset.
Sorry for inconvinience.
eranyanay
19th November 2008, 08:53 PM
SKTools Lite (free) comes with a small program called "Free up ram." During SKTools Lite install, it will tell you something about your windows version, just click through that and let it install.
Once it's installed, go to your programs page and you'll see it there: "Free Up RAM". Just run it once. It will look like nothing is opening, but its because it's working in the background. You'll get a message box very shortly telling you how much ram (in KB) you freed up.
http://s-k-tools.com/index.html?sktools/m_lite.html
I use it all the time. Brings me from 45 -50 down to 35-40. Lowest I've seen was 32%.
it lowers your memory usage by 10%???
To me it goes from 63% to 61%...
On my Diamond
thats frustrating...
BadTasteUK
19th November 2008, 10:56 PM
Hi there, trying to use this app I'm getting the same error as others...
"Can't list processes: The parameter is incorrect. (#0)"
Task Manager is empty, I've tried leaving it on the home screen for 20 secs and running it but still the same problem.
Any ideas? I'd really like to get this working as Dutty 3.1 does appear to suffer from this memory problem.
EDIT.... OK, did a reset and it's working fine. I'll play with it over the next day or so, and fingers crossed Dutty 3.1 will be good enough for me as I don't need YouTube.
EDIT2... Worked for a while, now has the same problem as earlier.
kosherpig
20th November 2008, 07:32 AM
Are you using the version form 1st post?
If not, please use it.
By the way, something is really wrong... AFAIK "Invalid parameter" has error code 87, 0 is "success". I've looked at program code to see where I could mess up memory, but I saw no such places. Help with finding this bug (you've got the source) would be very appreciated.
lindalinda
20th November 2008, 08:38 AM
hi kosherpig
can you add a settings file where we can put our personal process to stop?
I've try to modify the source but I'm not able to compile it
BadTasteUK
20th November 2008, 05:40 PM
Are you using the version form 1st post?
If not, please use it.
By the way, something is really wrong... AFAIK "Invalid parameter" has error code 87, 0 is "success". I've looked at program code to see where I could mess up memory, but I saw no such places. Help with finding this bug (you've got the source) would be very appreciated.
Hi Kosherpig, I am using the version from the 1st post.
I'm happy to help finding the bug, but not sure what to do here! I THINK it stopped working after I used TomTom7, but can't be sure.
It's only 1635 and it's down to 16% battery already (I think this is a problem with Dutty 3.1), so I don't want to do lots of tests. However, when I'm home and charging it, I'll try each app individually until I pin point which one "causes" the problem.
Does this help? Anything else you want me to try?
uniqueboy
20th November 2008, 09:15 PM
Hi kosherpig, getting on great with NoTSR now, I just have one small idea that it would be nice to show the memory stats in the pop up dialogue in a similar way to oxios hibernate. Unless of course this would significantly affect the size and speed of the app, in that case I think it is easy enough to check on the memory usage other ways with a couple of quick taps. :)
kosherpig
20th November 2008, 09:51 PM
Hi Kosherpig, I am using the version from the 1st post.
I'm happy to help finding the bug, but not sure what to do here! I THINK it stopped working after I used TomTom7, but can't be sure.
It's only 1635 and it's down to 16% battery already (I think this is a problem with Dutty 3.1), so I don't want to do lots of tests. However, when I'm home and charging it, I'll try each app individually until I pin point which one "causes" the problem.
Does this help? Anything else you want me to try?
In terms of really fixing the bug, not much. However, testing will be VERY useful, as we will be able to tell users which apps for sure cause NoTSR to fail, to warn other users. Btw, I don't think it is the fault of the ROM.
However, if any of you viewers/users is also a PPC coder check out the source. Maybe you can help :)
@uniqueboy hmm. Shouldn't be very hard :) Maybe I'll try to add this on weekend.
kosherpig
21st November 2008, 08:46 PM
Stats added, as requested.
~240 views of build 2, ~100 of build 1. Looks my first app grabbed some attention. How do you think?
uniqueboy
21st November 2008, 09:01 PM
Stats added, as requested.
~240 views of build 2, ~100 of build 1. Looks my first app grabbed some attention. How do you think?
I think your app should get a lot more attention, it is great. I think it should be a standard part of every rom.
Nice job of the stats too, that is exactly what I had in mind so thank you very much kosherpig, you just saved me 2 clicks every time i run your app, I love to know what memory I have left and now running NoTSR is the fastest way to find out. You've done a great job. :D
eranyanay
21st November 2008, 10:03 PM
i cant make it work..
is there any instructionsto use it?
kosherpig
21st November 2008, 10:11 PM
Unzip the zip file and launch NoTSR.exe using your phone's File Explorer.
That's all.
ucxoq
22nd November 2008, 08:07 AM
thanks for your effort to make our RAM cleaner :)
ucxoq
22nd November 2008, 08:08 AM
to everybody:
the best result in freeing up memory you'll get only by "Closing All Programs" i.e. by SKTools FreeUpRam shortcut (manila and stuff like that will run automatically after this procedure).
this program presented here kills certain unneeded processes (and i quess the list is too small, because lot more stuff like bioscroll can be killed).
oxios hibernate trying to send hibernation message to all the software running, and compress heaps, and you still gain not much.
latest versions of SKTools have their own services, one acts like oxios, the other one cleans cache etc. but still the results are mediocre during the day, and you see memory leaks, whatever you do.
in my opinion, running SKTools shadow services _and_ using mortscript to automatically (12hrs, 24 hrs) run SKTools FreeUpRam with "close all programs" option is the only way for now.
KukurikU
22nd November 2008, 08:38 AM
found this:
Just downlad latest SKTools, go to category Maintenance, Shadow Services, enable FreeUP Service, Settings, set FreeUP Service mode to 30x light 1 strong, (30x they freeup lightly the memory, after they freeup hardly)
So everytime you close all apps, they wait for nothing done on it, and clean memory !!! So my memory usage have no leak now ! They stay between 55% and 60%.
i am using it for some time and it seems that is working!:)
ericsson68
25th November 2008, 01:21 AM
I think your app should get a lot more attention, it is great. I think it should be a standard part of every rom.
Nice job of the stats too, that is exactly what I had in mind so thank you very much kosherpig, you just saved me 2 clicks every time i run your app, I love to know what memory I have left and now running NoTSR is the fastest way to find out. You've done a great job. :D
I and others can't get it working so I sure don't want it as standard in rom!
what is the trick?
uniqueboy
25th November 2008, 03:03 PM
I and others can't get it working so I sure don't want it as standard in rom!
what is the trick?
Just very occasionally I get "can't list processes" error but 9 times out of 10 it works sweet & I for one can't remember having more memory :D
I have not used sktools since having a diamond, there just seemed to be better free options but I will have another look at it.
eranyanay
25th November 2008, 08:19 PM
i get this error always.
is there any reason for that?
kosherpig
28th November 2008, 01:33 PM
Hello.
I am afraid the error can't be fixed. Why? Seems native API is faulty. Why I think so? I tried to use native-based task managers. They all made my Diamond hang! Only .NET based task managers work. So I guess some1 has to rewrite NoTSR in .NET.
btw, if NoTSR works for you, use it with oxios hibernate. I use just them and memory usage with no programs is never>65%. Without a byte wasted on resident tools ;)
uniqueboy
28th November 2008, 02:24 PM
Since installing SKTools and enabling the shadow services suggested above NoTSR gives an error every time I run it, except occasionally after a soft reset, when it is not needed anyway. Before installing SKTools (to internal storage) when NoTSR worked I was able to recover an extra 2mb that I now can't, and also I still have opera .exe to shut down some how. So to my mind if this can be made to work more reliably it would be the best solution. Having said all that, Dutty has apparently tweaked his new rom so that opera is properly shut down when exited and all the memory is released. :)
ucxoq
29th November 2008, 08:14 AM
Since installing SKTools and enabling the shadow services suggested above NoTSR gives an error every time I run it, except occasionally after a soft reset, when it is not needed anyway. Before installing SKTools (to internal storage) when NoTSR worked I was able to recover an extra 2mb that I now can't, and also I still have opera .exe to shut down some how. So to my mind if this can be made to work more reliably it would be the best solution. Having said all that, Dutty has apparently tweaked his new rom so that opera is properly shut down when exited and all the memory is released. :)
with sktools shadow services, i have 55Mb with manila, htc phone canvas and pocketbreeze running all day long. the rom is cleaned out but still, i just don't use anything i don't need (processes, services).
tip: you can actually create a list of autokill processes + autokill shortcut in sktools. run shortcut manually or using skschema/mortscript every couple of hours and you'll have much more than 2 extra megs.
whc
14th December 2008, 01:34 AM
I have made a cab of this little fin app, if anyone interested :).
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.