Hi Torsten,
The panel indeed consumes memory and it is a good idea to mention it in
the documentation. We should do the same with threads, because I have
notices that every time you place the mouse over the panel, the system
creates two threads.
By the way, a useful tip for using the panel is to go to Options->Update
and then unclick the option "Require Mouse over Panel". Setting the
Update Time to 500ms is also something I usually do.
cheers
Boriss
Torsten Anders wrote:
Dear all,
I am just studying the memory consumption of some program with the handy
system panel.
I noticed that whenever the panel is constantly updating (i.e. when the
mouse pointer is over the Panel's window), the current heap size
increases by about 3 K per second -- even if no other Oz code at all is
loaded. As soon as the mouse is removed from the panel, the size stays
where it is. So, this memory consumption is probably caused by the panel
itself.
I was far a while searching what my program does wrong before I figured
this out. It is of course totally fine that the panel reports its own
memory consumption, but some hint in the documentation might be helpful.
Can anyone confirm that this is indeed the case? Would it be OK then, if
I add a brief remark to the Panel doc (e.g., at
http://www.mozart-oz.org/documentation/panel/node3.html#chapter.usage.memory)?
Thanks!
Best
Torsten
--
Torsten Anders
Interdisciplinary Centre for Computer Music Research
University of Plymouth
Office: +44-1752-233667
Private: +44-1752-663492
http://strasheela.sourceforge.net
http://www.torsten-anders.de
_________________________________________________________________________________
mozart-users mailing list
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users
_________________________________________________________________________________
mozart-users mailing list
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users