[Extension] Resources Monitor

Jon

  • *
  • Posts: 17524
Developer: Alexin

Description: A simple memory usage gadget.

Use this topic to discuss this extension, report bugs and make suggestions.

(This extension can be downloaded from StencylForge.)

« Last Edit: November 02, 2015, 01:01:57 am by Jon »

Alexin

  • *
  • Posts: 3127
I took the liberty of correcting the developer's nickname. ;)
"Find the fun"
alexin@stencyl.com

coleislazy

  • *
  • Posts: 2607
I just thought Jon called everyone Greg. ;)

xmagicx60

  • Posts: 213
This is actually pretty important for older computers, I used it a ton before I got my new one.

dutchlee

  • Posts: 53
what exactly happens when you click on the little garbage can to "free up some memory"??
A Christian indie game developer with a passion to work with people, especially children.
Play my game Jason and Co. at http://www.kongregate.com/games/dutchlee/jason-and-co
Play my game Cabbage Hunt at http://www.kongregate.com/games/dutchlee/cabbage-hunt

Jon

  • *
  • Posts: 17524
Java periodically reclaims freed up memory. This causes that to happen right away but doesn't really serve much functional purpose.

Rob

  • *
  • Posts: 1268
I downloaded this extension and it looked good. Couple of question though:

1. I can see the green bar which is roughly half full (maybe 40%) when I invoke SW. Down at the bottom, I see 3 numbers like 34MB/62MB(495MB). How do you interpret these. I would expect only 2 numbers like current/max.

2. I'm on window xp. When I hit cntl-shift-esc, I bring up the window task manager. How can I correlate the numbers above to any of the processes (like java.exe, stencylworks.exe).

GOLDEN RULE #1 : SAVE YOUR GAMES FREQUENTLY
IOS/XCODE DEBUGGING
http://www.stencyl.com/help/view/xcode-ios-troubleshoot/
WATCH STENCYLWORKS VIDEO TUTORIAL BY SUNRISEKINGDOM
http://www.youtube.com/watch?v=KDfRfjzr9j4&feature=channel_video_title

Alexin

  • *
  • Posts: 3127
From your example:

- 34MB is the memory currently used.
- 62MB is the memory committed to the application.
- 495MB is the maximum amount of memory the application can ever have.

When a Java process starts, it is given an initial amount of memory to manage. If, for some reason, the process needs more than this initial amount, then the Java Virtual Machine provides a bit more. However, it will never exceed a predefined amount.
What the alternative EXE does is to raise the predefined limit.


The process stencylworks.exe is the one created by the EXE and should use a very small amount of memory. The extension doesn't display any information about it.
The process java.exe corresponds to StencylWorks itself. If I'm correct, the memory displayed by the Task Manager is the committed memory.
"Find the fun"
alexin@stencyl.com

Rob

  • *
  • Posts: 1268
Thanks for the explanation.

I'll try to monitor your extension, the window task manager and the occasional 90% usage and see how they are all tie together.
GOLDEN RULE #1 : SAVE YOUR GAMES FREQUENTLY
IOS/XCODE DEBUGGING
http://www.stencyl.com/help/view/xcode-ios-troubleshoot/
WATCH STENCYLWORKS VIDEO TUTORIAL BY SUNRISEKINGDOM
http://www.youtube.com/watch?v=KDfRfjzr9j4&feature=channel_video_title