Send to Printer


ST 4U 327: Memory Monitoring in VA Smalltalk

January 4, 2013 14:44:09.329

Today's Smalltalk 4 You starts looking at the basic memory monitoring tools available in VA Smalltalk. If you have trouble viewing it here in the browser, you can also navigate directly to YouTube. To watch now, click on the image below:

Memory Tools.

If you have trouble viewing that directly, you can click here to download the video directly. If you need the video in a Windows Media format, then download that here.

You can also watch it on YouTube:

It can be useful to get an idea as to how memory is being used as parts of your Smalltalk application are running - VA Smalltalk provides some tools that allow you to have that look. First off, you'll need to load some applications using the ApplicationManager (EsMemoryTools)

Memory Application

Once that's loaded, go to the launcher's tools menu, and start the monitor:

Memory Monitor

If you start it, not a lot will be happening - after all, we aren't really running anything but the base image. Try something - here, we loaded an image file using streams:

Memory Application

See the changes? You can use this to better effect when running your application (or hotspots in it) to see what's going on.

Need more help? There's a screencast for other topics like this which you may want to watch. Questions? Try the "Chat with James" Google gadget over in the sidebar.

[st4u327-iPhone.m4v ( Size: 2375511 )]

posted by James Robertson

 Share Tweet This