|
|
12/02/2009, 08:42 PM
|
#1 (permalink) |
|
Member
![]() ![]() Join Date: Sep 2009
Location: Illinois
Posts: 40
Likes Received: 1
Thanks: 2
Thanked 94 Times in 18 Posts
|
JSTop is an application for monitoring WebOS application memory and cpu usage.
It is listed in Preware, and is licensed using the BSD license. Official Wiki Git Repo Leave questions, comments, and suggestions below. I'm also available in the #webos-internals channel on freenode as azakus. |
12/02/2009, 09:00 PM
|
#3 (permalink) |
|
Member
![]() Join Date: Aug 2009
Location: Ї Ƈøṁε ℉яøṁ ṫɦε ℓαη∂ øḟ ṫɦε øḟḟ ṫø℘ḯ¢ !! NOW BACK OFF !! ltm ltm ltm
Posts: 9,126
Likes Received: 70
Thanks: 2,261
Thanked 2,792 Times in 2,201 Posts
|
ok so how do i read this lol
__________________
ĦṔ-ḶøØṫ-ŦḯØη Here is a direct link to webOS Doc for all carriers http://www.webos-internals.org/wiki/...octor_Versions P.S. if i have helped you and you are thankful please hit the thanks button to the right----> |
12/03/2009, 02:28 PM
|
#4 (permalink) |
|
Member
![]() Join Date: Jul 2009
Posts: 192
Likes Received: 0
Thanks: 44
Thanked 46 Times in 28 Posts
|
I would like to know this also. The section that shows ammount of memory being used (right below "Javascript Resource Monitor") shows about 1/4 of the memory being used when I run into a "Too Many Cards" error. Does this section show memory available to applications or is it something else?
Besides wondering exactly how it works, it looks promising. I always like to know how resources are being allocated. |
12/03/2009, 07:37 PM
|
#6 (permalink) | |
|
Homebrew Developer
![]() Join Date: Jun 2009
Location: Lexington KY
Posts: 836
Likes Received: 0
Thanks: 69
Thanked 122 Times in 84 Posts
|
Quote:
Last edited by fain; 12/03/2009 at 07:45 PM. |
|
12/03/2009, 09:56 PM
|
#7 (permalink) |
|
Member
![]() ![]() Join Date: Jun 2009
Posts: 116
Likes Received: 2
Thanks: 4
Thanked 25 Times in 16 Posts
|
Thanks for the hard work. I really don't have that much knowledge re this kind of stuff (& not a lot of time to learn). Could you provide a beginners explanation of how to use this app. E.g. How to interpret the info and when would you recommend (& not) "Killing" an app?
Thanks! |
12/03/2009, 11:11 PM
|
#8 (permalink) | |
|
Homebrew Developer
![]() Join Date: Jun 2009
Location: Lexington KY
Posts: 836
Likes Received: 0
Thanks: 69
Thanked 122 Times in 84 Posts
|
Quote:
|
|
12/03/2009, 11:49 PM
|
#9 (permalink) |
|
Member
![]() ![]() Join Date: Jun 2009
Posts: 116
Likes Received: 2
Thanks: 4
Thanked 25 Times in 16 Posts
|
If the following is the info you are referring to:
"JsTop is a Javascript Resource Aplication Monitor for WebOS. It monitors running webOS applications' memory usage, service usage, and total memory usage of the phone. Applications may be killed by tapping on them and pressing the "Kill It!" option of the popup box. Nodes refers to the number of DOM nodes an application has, roughly equal to it's memory usage on the phone. Open Service Handles are the number of services the application is waiting on to return. This number can be equated to a rough estimate of CPU usage (though they often total > 100). Applications with orange names are system applications like the phone, calendar, system ui, etc. Kill these at your own risk. (Phone for example takes > 1 minute to relaunch the phone app after killed)." I did read it, but didn't understand it enough to feel safe using this app w/out further explanation. I definitely won't be killing any of the system/orange apps. I get that. But what if say, package manager appeared on the list even though Preware was closed. Should I "Kill it"? Would that be safe? Are there any non-system apps I should never kill? Is the reading so low that I should just ignore it sometimes? Also, I was curious as to why some of the system apps continue to use resources even though they are closed? e.g. Camera, messaging. (I just would like more info if it is available). Thanks. |
12/04/2009, 12:03 AM
|
#10 (permalink) | |
|
Homebrew Developer
![]() Join Date: Jun 2009
Location: Lexington KY
Posts: 836
Likes Received: 0
Thanks: 69
Thanked 122 Times in 84 Posts
|
Quote:
|
|
12/04/2009, 12:37 AM
|
#11 (permalink) |
|
Member
![]() Join Date: Feb 2005
Location: Lexington, KY
Posts: 175
Likes Received: 2
Thanks: 31
Thanked 25 Times in 20 Posts
|
I would also like to know what "Garbage Collect JavaScript Heap" means/does. Being bold (or crazy?
), I tapped on it, and my bar dropped from 21.5MB to 16.5MB, but what exactly is it doing? When/why should we use it?All in all, I really appreciate this tool - you've done a very nice job with the UI, and I'm using it to report my findings to another developer who, I believe, has all kinds of memory leakage in his program. Thanks!
__________________
|
12/04/2009, 09:52 AM
|
#12 (permalink) |
|
Member
![]() ![]() Join Date: Sep 2007
Location: Queens, NY
Posts: 440
Likes Received: 8
Thanks: 112
Thanked 76 Times in 46 Posts
|
Garbage collection refers to the process of cleaning up memory that was allocated for applications but is no longer being used. This cleaning up is not done on the fly because it can cause a brief performance hit. You don't want to be in the middle of watching a video or relying on the next turn announcement on your GPS and have garbage collection kick in, causing these apps to hiccup. So garbage collection happens periodically based on whatever algorithm is being used to trigger it (e.g., when CPU utilization and/or memory falls below a certain point). This button probably just forces the garbage collection right then and there, freeing up memory to allow you to launch another app that was perhaps not able to before.
The catch-22 is that if you don't already have JsTop open to perform the garbage collection when you get the 'too many cards open' error, you won't have enough memory to open it! :-)
__________________
Phones>Ericsson->iPaq->Treo700w>>PalmPre & TouchPad<<PC<-Amiga<-C64<-Vic20<-PET<Computers |
12/04/2009, 10:37 AM
|
#13 (permalink) | |
|
Member
![]() Join Date: Jul 2009
Posts: 165
Likes Received: 2
Thanks: 37
Thanked 20 Times in 17 Posts
|
Quote:
|
|
12/04/2009, 12:47 PM
|
#14 (permalink) |
|
Moderator
![]() Join Date: Jan 2009
Location: SW Ohio
Posts: 3,858
Likes Received: 92
Thanks: 1,019
Thanked 1,061 Times in 715 Posts
|
I just discovered this app--totally great! I was just saying the other day that I really needed something like this to see what the heck is going on in the background.
__________________
Palm III-->Handspring Visor-->Sony Clie PEG-NR70-->no PDA -->Palm Treo 755p-->Palm Pre-->HP Veer
|
12/04/2009, 02:47 PM
|
#15 (permalink) | |
|
Member
![]() Join Date: Oct 2009
Location: Central PA
Posts: 839
Likes Received: 3
Thanks: 305
Thanked 108 Times in 70 Posts
|
Quote:
|
|
12/04/2009, 03:59 PM
|
#16 (permalink) | |
|
Homebrew Developer
![]() Join Date: Jun 2009
Location: Lexington KY
Posts: 836
Likes Received: 0
Thanks: 69
Thanked 122 Times in 84 Posts
|
Quote:
|
|
12/04/2009, 04:16 PM
|
#17 (permalink) |
|
Member
![]() Join Date: Jun 2009
Posts: 770
Likes Received: 0
Thanks: 37
Thanked 276 Times in 83 Posts
|
This app's great.. but where's the rest of the memory going?
My LunaSysMgr is typically taking ~100mb's.. this accounts for ~30mb's of it.. Do we have any way to have visibility into the rest? -mark |
12/13/2009, 08:29 PM
|
#18 (permalink) |
|
Member
![]() Join Date: Jul 2005
Location: San Diego
Posts: 958
Likes Received: 0
Thanks: 121
Thanked 44 Times in 39 Posts
|
Suddenly today JsTop has stopped working. It only shows one process, 9999, and the bar graph is empty. I tried deleting, reinstalling, and resetting, all to no avail.
|
12/13/2009, 10:57 PM
|
#19 (permalink) |
|
Homebrew Developer
![]() Join Date: Dec 2007
Location: D.C. Area
Posts: 195
Likes Received: 0
Thanks: 73
Thanked 39 Times in 20 Posts
|
Any ideas on why I can't find this in Preware? I have never installed it before, yet I can't find it, not even in the "List of Everything".
|
![]() |
|
| Tags |
| jstop |
| Thread Tools | |
| Display Modes | |
|
|



